Details

Time bar (total: 14.8s)

sample24.0ms

Algorithm
intervals
Results
9.0ms262×body80valid

simplify3.7s

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01317
12517
23917
36417
411417
520117
640317
794617
8251517
done500117

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 7.9b

localize11.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) x)
0.0b
(- (* t z) x)
0.2b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
10.1b
(/ (- (* y z) x) (- (* t z) x))

rewrite178.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
25×times-frac
24×add-sqr-sqrt add-cube-cbrt
10×distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
prod-diff
pow1 expm1-log1p-u flip3-- associate-/r/ flip-- log1p-expm1-u associate-/l/
div-sub
cbrt-undiv sub-neg frac-2neg flip3-+ fma-neg diff-log div-exp clear-num flip-+ div-inv
associate-+r-
Counts
4 → 113
Calls
4 calls:
9.0ms
(- (* y z) x)
9.0ms
(- (* t z) x)
127.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
30.0ms
(/ (- (* y z) x) (- (* t z) x))

series270.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(- (* y z) x)
27.0ms
(- (* t z) x)
148.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
67.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify2.2s

Counts
125 → 125
Iterations

Useful iterations: 3 (1.1s)

IterNodesCost
01872188
14622069
213471919
345881906
done50001906

prune374.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (fma (/ y (fma z t (- x))) z x) (+ x 1.0))
2.3b
(/ x (- (* t z) x))
2.3b
(/ y (fma z t (- x)))
3.3b
(fma (/ y (fma z t (- x))) z x)

rewrite38.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
30×times-frac
29×add-sqr-sqrt add-cube-cbrt
10×add-exp-log associate-/r* add-cbrt-cube
associate-/l*
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u distribute-lft-out add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
flip3-- flip3-+ flip-- flip-+ fma-udef
Counts
4 → 105
Calls
4 calls:
15.0ms
(/ (fma (/ y (fma z t (- x))) z x) (+ x 1.0))
14.0ms
(/ x (- (* t z) x))
5.0ms
(/ y (fma z t (- x)))
0.0ms
(fma (/ y (fma z t (- x))) z x)

series349.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(/ (fma (/ y (fma z t (- x))) z x) (+ x 1.0))
68.0ms
(/ x (- (* t z) x))
45.0ms
(/ y (fma z t (- x)))
83.0ms
(fma (/ y (fma z t (- x))) z x)

simplify1.6s

Counts
117 → 117
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01931769
13921730
29611590
321261590
done50001584

prune446.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.2b

localize18.0ms

Local error

Found 4 expressions with local error:

0.2b
(/ (fma (/ y (fma z t (- x))) z x) (+ x 1.0))
2.3b
(/ (- x) (fma z (- t) x))
2.3b
(/ y (fma z t (- x)))
3.3b
(fma (/ y (fma z t (- x))) z x)

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
52×*-un-lft-identity
51×times-frac
44×add-sqr-sqrt add-cube-cbrt
16×associate-/l*
12×distribute-lft-neg-in distribute-rgt-neg-in
10×add-exp-log associate-/r* add-cbrt-cube
pow1 expm1-log1p-u neg-mul-1 log1p-expm1-u distribute-lft-out add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
associate-/r/
neg-sub0 flip3-+ div-sub distribute-frac-neg flip-+ fma-udef
Counts
4 → 133
Calls
4 calls:
12.0ms
(/ (fma (/ y (fma z t (- x))) z x) (+ x 1.0))
8.0ms
(/ (- x) (fma z (- t) x))
5.0ms
(/ y (fma z t (- x)))
0.0ms
(fma (/ y (fma z t (- x))) z x)

series348.0ms

Counts
4 → 12
Calls
4 calls:
149.0ms
(/ (fma (/ y (fma z t (- x))) z x) (+ x 1.0))
73.0ms
(/ (- x) (fma z (- t) x))
41.0ms
(/ y (fma z t (- x)))
85.0ms
(fma (/ y (fma z t (- x))) z x)

simplify1.4s

Counts
145 → 145
Iterations

Useful iterations: 3 (546.0ms)

IterNodesCost
02342267
14482201
210702059
325432058
done50022058

prune592.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.2b

localize23.0ms

Local error

Found 4 expressions with local error:

0.4b
(/ (+ x 1.0) (fma (/ y (fma z t (- x))) z x))
2.3b
(/ x (- (* t z) x))
2.3b
(/ y (fma z t (- x)))
3.3b
(fma (/ y (fma z t (- x))) z x)

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
37×*-un-lft-identity
30×times-frac
29×add-sqr-sqrt add-cube-cbrt
10×add-exp-log add-cbrt-cube associate-/l*
associate-/r*
pow1 expm1-log1p-u log1p-expm1-u distribute-lft-out add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
associate-/r/ associate-/l/
flip3-- flip3-+ flip-- flip-+ fma-udef
Counts
4 → 105
Calls
4 calls:
19.0ms
(/ (+ x 1.0) (fma (/ y (fma z t (- x))) z x))
14.0ms
(/ x (- (* t z) x))
5.0ms
(/ y (fma z t (- x)))
0.0ms
(fma (/ y (fma z t (- x))) z x)

series289.0ms

Counts
4 → 12
Calls
4 calls:
92.0ms
(/ (+ x 1.0) (fma (/ y (fma z t (- x))) z x))
70.0ms
(/ x (- (* t z) x))
41.0ms
(/ y (fma z t (- x)))
86.0ms
(fma (/ y (fma z t (- x))) z x)

simplify1.5s

Counts
117 → 117
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01811740
13641706
29161573
321951573
done50001567

prune441.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.2b

regimes211.0ms

Accuracy

40.8% (2.7b remaining)

Error of 3.0b against oracle of 0.3b and baseline of 4.9b

bsearch114.0ms

Steps
ItersRangePoint
9
1.5917698593661642e-42
6.264232032108615e-37
1.9771970347394733e-38
8
-6.985295606104708e-99
-2.8497716098453335e-103
-3.3023912268343077e-102

simplify6.0ms

Iterations

Useful iterations: 1 (2.0ms)

IterNodesCost
03181
14255
24455
done4455

end0.0ms

sample618.0ms

Algorithm
intervals
Results
317.0ms8324×body80valid