Details

Time bar (total: 4.8s)

sample23.0ms

Algorithm
intervals
Results
10.0ms267×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: 8.7b

localize12.0ms

Local error

Found 4 expressions with local error:

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

rewrite94.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:
17.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
3.0ms
(- (* t z) x)
59.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
12.0ms
(/ (- (* y z) x) (- (* t z) x))

series310.0ms

Counts
4 → 12
Calls
4 calls:
86.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
31.0ms
(- (* t z) x)
127.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
65.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify78.0ms

Algorithm
egg-herbie
Counts
125 → 125
Iterations

Useful iterations: 2 (60.0ms)

IterNodesCost
04531085
119871003
250011002

prune382.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.7b

localize13.0ms

Local error

Found 4 expressions with local error:

0.7b
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
2.8b
(fma (/ y (- (* t z) x)) z x)
3.3b
(/ y (- (* t z) x))
3.8b
(/ x (- (* t z) x))

rewrite72.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:
56.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ 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))

series293.0ms

Counts
4 → 12
Calls
4 calls:
137.0ms
(/ (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))) (+ x 1.0))
58.0ms
(fma (/ y (- (* t z) x)) z x)
37.0ms
(/ y (- (* t z) x))
61.0ms
(/ x (- (* t z) x))

simplify62.0ms

Algorithm
egg-herbie
Counts
137 → 137
Iterations

Useful iterations: 2 (47.0ms)

IterNodesCost
04881388
116791305
250021301

prune457.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.5b

localize14.0ms

Local error

Found 4 expressions with local error:

0.8b
(/ (+ x 1.0) (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))))
2.8b
(fma (/ y (- (* t z) x)) z x)
3.3b
(/ y (- (* t z) x))
3.8b
(/ x (- (* t z) x))

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

series296.0ms

Counts
4 → 12
Calls
4 calls:
139.0ms
(/ (+ x 1.0) (- (fma (/ y (- (* t z) x)) z x) (/ x (- (* t z) x))))
57.0ms
(fma (/ y (- (* t z) x)) z x)
32.0ms
(/ y (- (* t z) x))
68.0ms
(/ x (- (* t z) x))

simplify60.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 1 (14.0ms)

IterNodesCost
04241343
114841277
250021277

prune453.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.5b

localize267.0ms

Local error

Found 4 expressions with local error:

3.8b
(/ x (- (* t z) x))
8.1b
(cbrt (- (* t z) x))
8.1b
(cbrt (- (* t z) x))
8.1b
(cbrt (- (* t z) x))

rewrite16.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:
6.0ms
(/ x (- (* t z) x))
2.0ms
(cbrt (- (* t z) x))
3.0ms
(cbrt (- (* t z) x))
3.0ms
(cbrt (- (* t z) x))

series461.0ms

Counts
4 → 12
Calls
4 calls:
67.0ms
(/ x (- (* t z) x))
131.0ms
(cbrt (- (* t z) x))
130.0ms
(cbrt (- (* t z) x))
132.0ms
(cbrt (- (* t z) x))

simplify81.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (73.0ms)

IterNodesCost
0243565
1722530
22114509
35001499

prune415.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.5b

regimes170.0ms

Accuracy

23% (3.3b remaining)

Error of 3.5b against oracle of 0.2b and baseline of 4.5b

bsearch114.0ms

Steps
ItersRangePoint
8
1.9762236127349288e+76
5.631703241776849e+79
1.420138958383812e+77
10
-9.434013868652405e+83
-6.275215954198753e+68
-5.482999273352397e+83

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
03513
13513

end0.0ms

sample554.0ms

Algorithm
intervals
Results
333.0ms8320×body80valid