Details

Time bar (total: 4.2s)

sample22.0ms

Algorithm
intervals
Results
10.0ms266×body80valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (3.0ms)

IterNodesCost
0258
1398
2648
31158
42078
54658
613378
750018

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 6.9b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite51.0ms

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

series323.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(- (* t z) x)
94.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
138.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
61.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify78.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
04531085
119871003
250011002

prune376.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.5b
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
1.8b
(/ y (- (* t z) x))
2.2b
(fma (/ y (- (* t z) x)) z x)
4.1b
(/ x (- (* t z) x))

rewrite45.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
56×*-un-lft-identity
47×times-frac
32×add-cube-cbrt
12×associate-/l*
10×add-exp-log associate-/r* add-cbrt-cube difference-of-squares
distribute-lft-out
associate-/r/
distribute-lft-out--
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
associate-/l/
flip3-+ div-sub flip-+ fma-udef
Counts
4 → 125
Calls
4 calls:
26.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
6.0ms
(/ y (- (* t z) x))
1.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ x (- (* t z) x))

series316.0ms

Counts
4 → 12
Calls
4 calls:
153.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
28.0ms
(/ y (- (* t z) x))
58.0ms
(fma (/ y (- (* t z) x)) z x)
76.0ms
(/ x (- (* t z) x))

simplify56.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
04881388
116791305
250021301

prune418.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.5b

localize14.0ms

Local error

Found 4 expressions with local error:

0.6b
(/ (+ x 1.0) (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))))
1.8b
(/ y (- (* t z) x))
2.2b
(fma (/ y (- (* t z) x)) z x)
4.1b
(/ x (- (* t z) x))

rewrite34.0ms

Algorithm
rewrite-expression-head
Rules
57×add-sqr-sqrt
56×*-un-lft-identity
47×times-frac
32×add-cube-cbrt
12×associate-/r*
10×add-exp-log add-cbrt-cube associate-/l* difference-of-squares
distribute-lft-out
associate-/r/
distribute-lft-out--
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
cbrt-undiv flip3-- frac-2neg div-exp clear-num flip-- div-inv
associate-/l/
flip3-+ flip-+ fma-udef
Counts
4 → 124
Calls
4 calls:
14.0ms
(/ (+ x 1.0) (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))))
6.0ms
(/ y (- (* t z) x))
1.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ x (- (* t z) x))

series271.0ms

Counts
4 → 12
Calls
4 calls:
124.0ms
(/ (+ x 1.0) (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))))
29.0ms
(/ y (- (* t z) x))
59.0ms
(fma (/ y (- (* t z) x)) z x)
59.0ms
(/ x (- (* t z) x))

simplify56.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04241343
114841277
250021277

prune430.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.5b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ x (* (- (* y z) x) (/ 1 (- (* t z) x))))
0.2b
(/ 1 (- (* t z) x))
0.5b
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
11.0b
(* (- (* y z) x) (/ 1 (- (* t z) x)))

rewrite33.0ms

Algorithm
rewrite-expression-head
Rules
39×*-un-lft-identity
37×add-sqr-sqrt
32×times-frac
30×add-cube-cbrt
19×add-exp-log
15×associate-*r*
13×add-cbrt-cube
pow1 associate-/r*
associate-/r/ associate-/l* add-log-exp
div-exp
expm1-log1p-u flip3-- prod-exp flip-- log1p-expm1-u distribute-lft-out
cbrt-undiv fma-def flip3-+ associate-*l* flip-+ div-inv unswap-sqr
frac-times rec-exp frac-2neg 1-exp associate-*l/ clear-num cbrt-unprod associate-/l/
+-commutative pow-flip associate-*r/ pow-prod-down sum-log un-div-inv *-commutative inv-pow
Counts
4 → 132
Calls
4 calls:
3.0ms
(+ x (* (- (* y z) x) (/ 1 (- (* t z) x))))
6.0ms
(/ 1 (- (* t z) x))
7.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
13.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

series307.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(+ x (* (- (* y z) x) (/ 1 (- (* t z) x))))
32.0ms
(/ 1 (- (* t z) x))
128.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
60.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

simplify75.0ms

Algorithm
egg-herbie
Counts
144 → 144
Iterations

Useful iterations: 2 (57.0ms)

IterNodesCost
04891257
121011127
250011095

prune370.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.5b

regimes165.0ms

Accuracy

34.3% (2.9b remaining)

Error of 3.1b against oracle of 0.3b and baseline of 4.6b

bsearch102.0ms

Steps
ItersRangePoint
7
1.4411111155905935e-45
1.5655308314484462e-43
6.761309753126492e-45
9
-2.666222699328035e+140
-2.784784425602926e+135
-4.5810378724450705e+135

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03824
13824

end0.0ms

sample537.0ms

Algorithm
intervals
Results
330.0ms8322×body80valid