Details

Time bar (total: 4.1s)

sample21.0ms

Algorithm
intervals
Results
10.0ms271×body80valid

simplify51.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.5b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite47.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:
15.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
4.0ms
(- (* y z) x)
15.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
9.0ms
(/ (- (* y z) x) (- (* t z) x))

series292.0ms

Counts
4 → 12
Calls
4 calls:
85.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
25.0ms
(- (* y z) x)
124.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
57.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify64.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
04551085
119871003
250011002

prune347.0ms

Filtered
125 candidates to 93 candidates (74.4%)
Pruning

8 alts after pruning (8 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))
2.1b
(fma (/ y (- (* t z) x)) z x)
3.0b
(/ x (- (* t z) x))
3.9b
(/ y (- (* 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-/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:
18.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
1.0ms
(fma (/ y (- (* t z) x)) z x)
5.0ms
(/ x (- (* t z) x))
6.0ms
(/ y (- (* t z) x))

series274.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
57.0ms
(fma (/ y (- (* t z) x)) z x)
60.0ms
(/ x (- (* t z) x))
34.0ms
(/ y (- (* t z) x))

simplify57.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (40.0ms)

IterNodesCost
04881388
116791305
250021301

prune417.0ms

Filtered
137 candidates to 105 candidates (76.6%)
Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.2b

localize13.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))))
2.1b
(fma (/ y (- (* t z) x)) z x)
3.0b
(/ x (- (* t z) x))
3.9b
(/ y (- (* t z) x))

rewrite31.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))))
1.0ms
(fma (/ y (- (* t z) x)) z x)
6.0ms
(/ x (- (* t z) x))
6.0ms
(/ y (- (* t z) x))

series274.0ms

Counts
4 → 12
Calls
4 calls:
123.0ms
(/ (+ x 1.0) (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))))
57.0ms
(fma (/ y (- (* t z) x)) z x)
60.0ms
(/ x (- (* t z) x))
34.0ms
(/ y (- (* t z) x))

simplify54.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04241343
114841277
250021277

prune416.0ms

Filtered
136 candidates to 103 candidates (75.7%)
Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.2b

localize23.0ms

Local error

Found 4 expressions with local error:

3.0b
(/ x (- (* t z) x))
3.9b
(/ y (- (* t z) x))
3.9b
(/ y (- (* t z) x))
3.9b
(/ y (- (* t z) x))

rewrite28.0ms

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

series156.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(/ x (- (* t z) x))
30.0ms
(/ y (- (* t z) x))
30.0ms
(/ y (- (* t z) x))
33.0ms
(/ y (- (* t z) x))

simplify62.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 3 (52.0ms)

IterNodesCost
0206775
1682716
21975716
35002712

prune639.0ms

Filtered
136 candidates to 108 candidates (79.4%)
Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0.2b

regimes168.0ms

Accuracy

10.5% (3.9b remaining)

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

bsearch89.0ms

Steps
ItersRangePoint
6
-1.823475752125366e-292
-1.5530602128346044e-293
-1.5880922452747524e-293
9
-4.3491108202794564e+185
-8.295305406508743e+179
-8.391546578316776e+179

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03824
13824

end0.0ms

sample522.0ms

Algorithm
intervals
Results
316.0ms8364×body80valid