Details

Time bar (total: 14.2s)

sample25.0ms

Algorithm
intervals
Results
12.0ms277×body80valid

simplify991.0ms

Counts
1 → 1
Iterations

Useful iterations: 3 (9.0ms)

IterNodesCost
01011
11711
23511
36210
410410
514810
619010
721710
825110
930010
1041610
1160510
1265110
1367210
1467410
done67410

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ (- y z) (- a z))
1.9b
(fma (/ (- y z) (- a z)) t x)

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
38×add-sqr-sqrt *-un-lft-identity
25×times-frac
14×add-cube-cbrt
12×distribute-lft-out-- difference-of-squares
associate-/r* associate-/l*
add-exp-log add-cbrt-cube
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/ add-log-exp
cbrt-undiv frac-2neg div-sub div-exp clear-num fma-udef div-inv
Counts
2 → 64
Calls
2 calls:
17.0ms
(/ (- y z) (- a z))
0.0ms
(fma (/ (- y z) (- a z)) t x)

series141.0ms

Counts
2 → 6
Calls
2 calls:
58.0ms
(/ (- y z) (- a z))
83.0ms
(fma (/ (- y z) (- a z)) t x)

simplify2.1s

Counts
70 → 70
Iterations

Useful iterations: 4 (1.1s)

IterNodesCost
0113884
1259856
2599808
31462808
44019806
done5000806

prune220.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0.0b

localize14.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- a z) (- y z))
0.2b
(/ 1 (/ (- a z) (- y z)))
1.9b
(fma (/ 1 (/ (- a z) (- y z))) t x)

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
218×times-frac
195×add-sqr-sqrt *-un-lft-identity
91×add-cube-cbrt
52×distribute-lft-out-- difference-of-squares
36×associate-/r*
16×add-exp-log
11×associate-/r/
10×add-cbrt-cube
div-exp associate-/l*
flip3-- flip-- div-inv
pow1 cbrt-undiv
expm1-log1p-u log1p-expm1-u add-log-exp
rec-exp frac-2neg 1-exp clear-num associate-/l/
pow-flip div-sub fma-udef inv-pow
Counts
3 → 214
Calls
3 calls:
12.0ms
(/ (- a z) (- y z))
15.0ms
(/ 1 (/ (- a z) (- y z)))
0.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

series411.0ms

Counts
3 → 9
Calls
3 calls:
53.0ms
(/ (- a z) (- y z))
151.0ms
(/ 1 (/ (- a z) (- y z)))
206.0ms
(fma (/ 1 (/ (- a z) (- y z))) t x)

simplify2.4s

Counts
223 → 223
Iterations

Useful iterations: done (2.4s)

IterNodesCost
02703746
16233234
213852915
338612837
done50002834

prune471.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ 1 (- a z))
0.2b
(* (/ 1 (- a z)) (- y z))
1.9b
(fma (* (/ 1 (- a z)) (- y z)) t x)

rewrite43.0ms

Algorithm
rewrite-expression-head
Rules
58×add-sqr-sqrt
52×*-un-lft-identity
35×add-cube-cbrt
32×times-frac
21×associate-*l*
18×prod-diff
16×add-exp-log
11×distribute-rgt-in distribute-lft-in
10×add-cbrt-cube
distribute-lft-out-- difference-of-squares
pow1
associate-*r* associate-/r*
flip3-- div-exp prod-exp associate-/r/ flip--
expm1-log1p-u log1p-expm1-u associate-/l* add-log-exp unswap-sqr
cbrt-undiv frac-times sub-neg rec-exp 1-exp associate-*r/ cbrt-unprod div-inv
pow-flip frac-2neg pow-prod-down associate-*l/ clear-num *-commutative fma-udef inv-pow
Counts
3 → 126
Calls
3 calls:
6.0ms
(/ 1 (- a z))
31.0ms
(* (/ 1 (- a z)) (- y z))
0.0ms
(fma (* (/ 1 (- a z)) (- y z)) t x)

series398.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(/ 1 (- a z))
152.0ms
(* (/ 1 (- a z)) (- y z))
207.0ms
(fma (* (/ 1 (- a z)) (- y z)) t x)

simplify2.4s

Counts
135 → 135
Iterations

Useful iterations: done (2.4s)

IterNodesCost
02081929
14851550
212261284
338971240
done50001239

prune328.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt (- y z))
0.6b
(cbrt (- y z))
0.6b
(cbrt (- y z))
1.9b
(fma (/ 1 (* (/ (/ (cbrt (- a z)) (/ (cbrt (- y z)) (cbrt (- a z)))) (cbrt (- y z))) (/ (cbrt (- a z)) (cbrt (- y z))))) t x)

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
15×cbrt-prod
13×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
cbrt-div
pow1 add-exp-log expm1-log1p-u add-cbrt-cube log1p-expm1-u add-log-exp
flip3-- pow1/3 flip-- distribute-lft-out-- difference-of-squares
fma-udef
Counts
4 → 61
Calls
4 calls:
2.0ms
(cbrt (- y z))
2.0ms
(cbrt (- y z))
3.0ms
(cbrt (- y z))
0.0ms
(fma (/ 1 (* (/ (/ (cbrt (- a z)) (/ (cbrt (- y z)) (cbrt (- a z)))) (cbrt (- y z))) (/ (cbrt (- a z)) (cbrt (- y z))))) t x)

series737.0ms

Counts
4 → 12
Calls
4 calls:
178.0ms
(cbrt (- y z))
171.0ms
(cbrt (- y z))
177.0ms
(cbrt (- y z))
211.0ms
(fma (/ 1 (* (/ (/ (cbrt (- a z)) (/ (cbrt (- y z)) (cbrt (- a z)))) (cbrt (- y z))) (/ (cbrt (- a z)) (cbrt (- y z))))) t x)

simplify2.3s

Counts
73 → 73
Iterations

Useful iterations: 4 (967.0ms)

IterNodesCost
0981058
11991040
2434936
31115888
44203731
done5000731

prune347.0ms

Pruning

6 alts after pruning (2 fresh and 4 done)

Merged error: 0.0b

regimes252.0ms

Accuracy

80.3% (0.3b remaining)

Error of 0.3b against oracle of 0.0b and baseline of 1.3b

bsearch2.0ms

simplify2.0ms

Iterations

Useful iterations: 1 (1.0ms)

IterNodesCost
01855
12346
done2346

end0.0ms

sample564.0ms

Algorithm
intervals
Results
289.0ms8736×body80valid
0.0msbody640valid
0.0msbody320valid