Details

Time bar (total: 4.6s)

sample22.0ms

Algorithm
intervals
Results
10.0ms264×body80valid

simplify73.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: 10.2b

localize13.0ms

Local error

Found 4 expressions with local error:

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

rewrite95.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:
56.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
3.0ms
(- (* y z) x)
20.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
12.0ms
(/ (- (* y z) x) (- (* t z) x))

series317.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (65.0ms)

IterNodesCost
04551085
119871003
250011002

prune367.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize13.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
3.2b
(fma (/ y (- (* t z) x)) z x)
3.4b
(/ x (- (* t z) x))
4.6b
(/ y (- (* t z) x))

rewrite70.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:
54.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
0.0ms
(fma (/ y (- (* t z) x)) z x)
5.0ms
(/ x (- (* t z) x))
6.0ms
(/ y (- (* t z) x))

series308.0ms

Counts
4 → 12
Calls
4 calls:
144.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
63.0ms
(fma (/ y (- (* t z) x)) z x)
69.0ms
(/ x (- (* t z) x))
32.0ms
(/ y (- (* t z) x))

simplify66.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
04881388
116791305
250021301

prune435.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize18.0ms

Local error

Found 4 expressions with local error:

4.6b
(/ y (- (* t z) x))
9.6b
(cbrt (- (* t z) x))
9.6b
(cbrt (- (* t z) x))
9.6b
(cbrt (- (* t z) x))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
cbrt-prod times-frac
add-exp-log cbrt-div add-cbrt-cube
pow1 expm1-log1p-u flip3-- flip-- log1p-expm1-u add-log-exp
pow1/3 associate-/r* associate-/l*
associate-/r/
cbrt-undiv frac-2neg div-exp clear-num div-inv
Counts
4 → 76
Calls
4 calls:
5.0ms
(/ y (- (* t z) x))
3.0ms
(cbrt (- (* t z) x))
2.0ms
(cbrt (- (* t z) x))
3.0ms
(cbrt (- (* t z) x))

series422.0ms

Counts
4 → 12
Calls
4 calls:
30.0ms
(/ y (- (* t z) x))
129.0ms
(cbrt (- (* t z) x))
127.0ms
(cbrt (- (* t z) x))
135.0ms
(cbrt (- (* t z) x))

simplify70.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (58.0ms)

IterNodesCost
0249566
1682530
21892512
35001499

prune364.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

1.3b
(/ (- (* t z) x) (cbrt y))
3.2b
(fma (/ (* (cbrt y) (cbrt y)) (/ (- (* t z) x) (cbrt y))) z x)
3.4b
(/ x (- (* t z) x))
3.6b
(/ (* (cbrt y) (cbrt y)) (/ (- (* t z) x) (cbrt y)))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
85×times-frac
53×add-sqr-sqrt add-cube-cbrt *-un-lft-identity
31×associate-/r*
30×cbrt-prod
20×add-exp-log
13×add-cbrt-cube
cbrt-undiv div-exp
associate-/l*
div-inv
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num associate-/r/
flip3-- prod-exp flip-- cbrt-unprod associate-/l/
div-sub fma-udef
Counts
4 → 151
Calls
4 calls:
9.0ms
(/ (- (* t z) x) (cbrt y))
0.0ms
(fma (/ (* (cbrt y) (cbrt y)) (/ (- (* t z) x) (cbrt y))) z x)
5.0ms
(/ x (- (* t z) x))
11.0ms
(/ (* (cbrt y) (cbrt y)) (/ (- (* t z) x) (cbrt y)))

series377.0ms

Counts
4 → 12
Calls
4 calls:
167.0ms
(/ (- (* t z) x) (cbrt y))
85.0ms
(fma (/ (* (cbrt y) (cbrt y)) (/ (- (* t z) x) (cbrt y))) z x)
66.0ms
(/ x (- (* t z) x))
60.0ms
(/ (* (cbrt y) (cbrt y)) (/ (- (* t z) x) (cbrt y)))

simplify78.0ms

Algorithm
egg-herbie
Counts
163 → 163
Iterations

Useful iterations: 2 (63.0ms)

IterNodesCost
05941509
127731400
250011355

prune559.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

regimes130.0ms

Accuracy

34.6% (3.0b remaining)

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

bsearch113.0ms

Steps
ItersRangePoint
9
2.3368260044911415e+32
6.299056690775413e+40
6.179932288964712e+40
9
-30.29444851407267
-2.6347950030161873e-08
-0.11637323540242528

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
04133
14133

end0.0ms

sample554.0ms

Algorithm
intervals
Results
336.0ms8338×body80valid