Details

Time bar (total: 4.3s)

sample22.0ms

Algorithm
intervals
Results
10.0ms270×body80valid

simplify65.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0258
1398
2648
31158
42078
54658
613378
750018

prune3.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 5.8b

localize12.0ms

Local error

Found 3 expressions with local error:

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

rewrite76.0ms

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

series227.0ms

Counts
3 → 9
Calls
3 calls:
26.0ms
(- (* t z) x)
133.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
67.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify75.0ms

Algorithm
egg-herbie
Counts
104 → 104
Iterations

Useful iterations: 1 (17.0ms)

IterNodesCost
0433951
11923872
25001872

prune319.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize20.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (/ x (- (* t z) x)) (+ x 1.0))
1.3b
(fma (/ y (- (* t z) x)) z x)
2.7b
(/ y (- (* t z) x))
3.5b
(/ x (- (* t z) x))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
123×times-frac
103×*-un-lft-identity
71×add-sqr-sqrt add-cube-cbrt
21×associate-/l*
16×associate-/r/ distribute-lft-out
13×add-exp-log add-cbrt-cube
10×associate-/r*
div-inv
flip3-- flip--
cbrt-undiv div-exp
pow1 expm1-log1p-u log1p-expm1-u add-log-exp
frac-2neg clear-num
flip3-+ flip-+ fma-udef associate-/l/
Counts
4 → 170
Calls
4 calls:
16.0ms
(/ (/ x (- (* t z) x)) (+ x 1.0))
0.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ y (- (* t z) x))
6.0ms
(/ x (- (* t z) x))

series275.0ms

Counts
4 → 12
Calls
4 calls:
110.0ms
(/ (/ x (- (* t z) x)) (+ x 1.0))
63.0ms
(fma (/ y (- (* t z) x)) z x)
31.0ms
(/ y (- (* t z) x))
70.0ms
(/ x (- (* t z) x))

simplify79.0ms

Algorithm
egg-herbie
Counts
182 → 182
Iterations

Useful iterations: 1 (19.0ms)

IterNodesCost
05821552
122871475
250011475

prune640.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

0.3b
(cbrt (/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0)))
8.2b
(/ (- (* y z) x) (- (* t z) x))
8.2b
(/ (- (* y z) x) (- (* t z) x))
8.2b
(/ (- (* y z) x) (- (* t z) x))

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
53×*-un-lft-identity
43×times-frac
37×add-sqr-sqrt add-cube-cbrt
22×cbrt-prod
10×add-exp-log add-cbrt-cube
associate-/r* associate-/l*
associate-/r/ distribute-lft-out
flip3-- flip-- associate-/l/
pow1 expm1-log1p-u log1p-expm1-u div-inv add-log-exp
cbrt-undiv frac-2neg div-sub div-exp clear-num
cbrt-div flip3-+ pow1/3 flip-+
Counts
4 → 135
Calls
4 calls:
20.0ms
(cbrt (/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0)))
11.0ms
(/ (- (* y z) x) (- (* t z) x))
11.0ms
(/ (- (* y z) x) (- (* t z) x))
12.0ms
(/ (- (* y z) x) (- (* t z) x))

series485.0ms

Counts
4 → 12
Calls
4 calls:
292.0ms
(cbrt (/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0)))
65.0ms
(/ (- (* y z) x) (- (* t z) x))
60.0ms
(/ (- (* y z) x) (- (* t z) x))
67.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify168.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 3 (152.0ms)

IterNodesCost
03531473
111041379
247911367
350011361

prune631.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (/ y t))
2.4b
(/ (+ x (/ y t)) (+ x 1.0))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
35×*-un-lft-identity
16×times-frac
13×add-sqr-sqrt add-cube-cbrt
11×distribute-lft-out
add-exp-log associate-/r* add-cbrt-cube associate-/l* add-log-exp
fma-def flip3-+ flip-+
pow1 expm1-log1p-u associate-/r/ log1p-expm1-u associate-/l/
cbrt-undiv +-commutative frac-2neg div-exp clear-num sum-log div-inv
Counts
2 → 59
Calls
2 calls:
6.0ms
(+ x (/ y t))
22.0ms
(/ (+ x (/ y t)) (+ x 1.0))

series62.0ms

Counts
2 → 6
Calls
2 calls:
18.0ms
(+ x (/ y t))
43.0ms
(/ (+ x (/ y t)) (+ x 1.0))

simplify79.0ms

Algorithm
egg-herbie
Counts
65 → 65
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0236389
1734363
22427362
35002361

prune145.0ms

Pruning

6 alts after pruning (3 fresh and 3 done)

Merged error: 0.0b

regimes177.0ms

Accuracy

0% (4.4b remaining)

Error of 4.7b against oracle of 0.3b and baseline of 4.7b

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02113
12313
22313

end0.0ms

sample551.0ms

Algorithm
intervals
Results
332.0ms8336×body80valid