Details

Time bar (total: 4.4s)

sample22.0ms

Algorithm
intervals
Results
10.0ms266×body80valid

simplify73.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0258
1398
2648
31158
42078
54658
613378
750018

prune3.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 9.1b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* y z) x)
0.0b
(- (* t z) x)
0.5b
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
11.2b
(/ (- (* y z) x) (- (* t z) x))

rewrite88.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:
3.0ms
(- (* y z) x)
3.0ms
(- (* t z) x)
64.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
13.0ms
(/ (- (* y z) x) (- (* t z) x))

series258.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(- (* y z) x)
26.0ms
(- (* t z) x)
135.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
73.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify77.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 1 (16.0ms)

IterNodesCost
04621042
12015941
25001941

prune394.0ms

Filtered
125 candidates to 90 candidates (72.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.5b

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
2.5b
(/ y (- (* t z) x))
2.5b
(fma (/ y (- (* t z) x)) z x)
3.0b
(/ x (- (* t z) x))

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
22×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
21×times-frac
15×add-exp-log
13×add-cbrt-cube
associate-/l*
associate-/r*
associate-/r/
div-exp
pow1 cbrt-undiv expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num div-inv
flip3-- associate-*l/ prod-exp flip--
flip3-+ 1-exp cbrt-unprod flip-+ fma-udef
Counts
4 → 98
Calls
4 calls:
6.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
6.0ms
(/ y (- (* t z) x))
0.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ x (- (* t z) x))

series284.0ms

Counts
4 → 12
Calls
4 calls:
104.0ms
(/ (fma (/ y (- (* t z) x)) z x) (* (+ x 1.0) 1))
40.0ms
(/ y (- (* t z) x))
68.0ms
(fma (/ y (- (* t z) x)) z x)
71.0ms
(/ x (- (* t z) x))

simplify58.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
0423735
11590652
25001650

prune432.0ms

Filtered
110 candidates to 88 candidates (80.0%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.5b

localize16.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (+ x 1.0) (fma (/ y (- (* t z) x)) z x))
2.5b
(/ y (- (* t z) x))
2.5b
(fma (/ y (- (* t z) x)) z x)
3.0b
(/ x (- (* t z) x))

rewrite29.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 associate-/r/ log1p-expm1-u distribute-lft-out add-log-exp
cbrt-undiv frac-2neg div-exp clear-num div-inv
flip3-- flip-- associate-/l/
flip3-+ flip-+ fma-udef
Counts
4 → 107
Calls
4 calls:
9.0ms
(/ (+ x 1.0) (fma (/ y (- (* t z) x)) z x))
10.0ms
(/ y (- (* t z) x))
0.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ x (- (* t z) x))

series264.0ms

Counts
4 → 12
Calls
4 calls:
94.0ms
(/ (+ x 1.0) (fma (/ y (- (* t z) x)) z x))
37.0ms
(/ y (- (* t z) x))
68.0ms
(fma (/ y (- (* t z) x)) z x)
65.0ms
(/ x (- (* t z) x))

simplify52.0ms

Algorithm
egg-herbie
Counts
119 → 119
Iterations

Useful iterations: 1 (13.0ms)

IterNodesCost
0358835
11289769
25001769

prune471.0ms

Filtered
119 candidates to 93 candidates (78.2%)
Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.5b

localize17.0ms

Local error

Found 4 expressions with local error:

0.6b
(* (/ 1 (+ x 1.0)) (fma (/ y (- (* t z) x)) z x))
2.5b
(/ y (- (* t z) x))
2.5b
(fma (/ y (- (* t z) x)) z x)
3.0b
(/ x (- (* t z) x))

rewrite40.0ms

Algorithm
rewrite-expression-head
Rules
36×add-sqr-sqrt *-un-lft-identity
32×times-frac
29×add-cube-cbrt
18×associate-*l*
17×add-exp-log
13×add-cbrt-cube
pow1 associate-/r* associate-/r/ associate-/l*
expm1-log1p-u div-exp prod-exp log1p-expm1-u add-log-exp
cbrt-undiv associate-*r* fma-udef div-inv distribute-lft-out unswap-sqr
flip3-- frac-2neg clear-num flip-- cbrt-unprod
distribute-rgt-in rec-exp distribute-lft-in flip3-+ 1-exp pow-prod-down associate-*l/ *-commutative flip-+
Counts
4 → 116
Calls
4 calls:
23.0ms
(* (/ 1 (+ x 1.0)) (fma (/ y (- (* t z) x)) z x))
6.0ms
(/ y (- (* t z) x))
0.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ x (- (* t z) x))

series294.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(* (/ 1 (+ x 1.0)) (fma (/ y (- (* t z) x)) z x))
37.0ms
(/ y (- (* t z) x))
75.0ms
(fma (/ y (- (* t z) x)) z x)
75.0ms
(/ x (- (* t z) x))

simplify70.0ms

Algorithm
egg-herbie
Counts
128 → 128
Iterations

Useful iterations: 2 (58.0ms)

IterNodesCost
0468900
11905801
25002791

prune470.0ms

Filtered
128 candidates to 99 candidates (77.3%)
Pruning

8 alts after pruning (7 fresh and 1 done)

Merged error: 0.5b

regimes211.0ms

Accuracy

35.9% (2.9b remaining)

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

bsearch95.0ms

Steps
ItersRangePoint
3
3.325624108380948e+76
4.649576028066181e+76
4.5668290330858535e+76
9
-2.355035228211621e+66
-1.5442358469082974e+61
-6.308835771186266e+63

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03926
13926

end0.0ms

sample583.0ms

Algorithm
intervals
Results
349.0ms8339×body80valid