Details

Time bar (total: 4.4s)

sample25.0ms

Algorithm
intervals
Results
13.0ms270×body80valid

simplify43.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
0238
1358
2608
31038
41838
54168
611948
750018

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 8.8b

localize11.0ms

Local error

Found 4 expressions with local error:

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

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
44×*-un-lft-identity
25×times-frac
22×add-sqr-sqrt add-cube-cbrt
11×distribute-lft-out
add-exp-log add-cbrt-cube add-log-exp
associate-/r* associate-/l*
pow1 div-sub associate-/r/ associate-/l/
flip3-- flip3-+ flip-- flip-+
cbrt-undiv associate-+r- frac-2neg div-exp clear-num div-inv
+-commutative sub-neg diff-log sum-log
Counts
4 → 98
Calls
4 calls:
17.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
3.0ms
(- (* t z) x)
58.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
11.0ms
(/ (- (* y z) x) (- (* t z) x))

series272.0ms

Counts
4 → 12
Calls
4 calls:
79.0ms
(+ x (/ (- (* y z) x) (- (* t z) x)))
23.0ms
(- (* t z) x)
114.0ms
(/ (+ x (/ (- (* y z) x) (- (* t z) x))) (+ x 1.0))
55.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify42.0ms

Algorithm
egg-herbie
Counts
110 → 110
Iterations

Useful iterations: 2 (31.0ms)

IterNodesCost
03971011
11388948
25001947

prune285.0ms

Pruning

10 alts after pruning (10 fresh and 0 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.1b
(/ 1 (- (* t z) x))
0.3b
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
10.9b
(* (- (* y z) x) (/ 1 (- (* t z) x)))

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
38×*-un-lft-identity
36×add-sqr-sqrt
32×times-frac
29×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
flip3-- prod-exp flip-- distribute-lft-out
cbrt-undiv 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 → 121
Calls
4 calls:
2.0ms
(+ x (* (- (* y z) x) (/ 1 (- (* t z) x))))
6.0ms
(/ 1 (- (* t z) x))
11.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
25.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

series286.0ms

Counts
4 → 12
Calls
4 calls:
83.0ms
(+ x (* (- (* y z) x) (/ 1 (- (* t z) x))))
26.0ms
(/ 1 (- (* t z) x))
117.0ms
(/ (+ x (* (- (* y z) x) (/ 1 (- (* t z) x)))) (+ x 1.0))
59.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

simplify62.0ms

Algorithm
egg-herbie
Counts
133 → 133
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04691203
121141077
250021046

prune311.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.5b

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ (- (* y z) x) (- (* t z) x)) x)
0.1b
(/ 1 (/ (+ x 1.0) (+ (/ (- (* y z) x) (- (* t z) x)) x)))
0.3b
(/ (+ x 1.0) (+ (/ (- (* y z) x) (- (* t z) x)) x))
10.9b
(/ (- (* y z) x) (- (* t z) x))

rewrite161.0ms

Algorithm
rewrite-expression-head
Rules
167×*-un-lft-identity
155×times-frac
81×add-sqr-sqrt add-cube-cbrt
43×distribute-lft-out
29×associate-/r*
19×add-exp-log
13×associate-/r/ add-cbrt-cube
10×associate-/l*
div-exp
flip3-+ flip-+ div-inv
add-log-exp
pow1 cbrt-undiv
associate-/l/
frac-2neg clear-num
rec-exp flip3-- 1-exp div-sub flip--
+-commutative associate-+l- pow-flip sum-log inv-pow
Counts
4 → 197
Calls
4 calls:
35.0ms
(+ (/ (- (* y z) x) (- (* t z) x)) x)
55.0ms
(/ 1 (/ (+ x 1.0) (+ (/ (- (* y z) x) (- (* t z) x)) x)))
50.0ms
(/ (+ x 1.0) (+ (/ (- (* y z) x) (- (* t z) x)) x))
11.0ms
(/ (- (* y z) x) (- (* t z) x))

series369.0ms

Counts
4 → 12
Calls
4 calls:
75.0ms
(+ (/ (- (* y z) x) (- (* t z) x)) x)
120.0ms
(/ 1 (/ (+ x 1.0) (+ (/ (- (* y z) x) (- (* t z) x)) x)))
119.0ms
(/ (+ x 1.0) (+ (/ (- (* y z) x) (- (* t z) x)) x))
54.0ms
(/ (- (* y z) x) (- (* t z) x))

simplify82.0ms

Algorithm
egg-herbie
Counts
209 → 209
Iterations

Useful iterations: 2 (56.0ms)

IterNodesCost
06212775
128612570
250012454

prune379.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.5b

localize17.0ms

Local error

Found 4 expressions with local error:

3.3b
(cbrt (* (- (* y z) x) (/ 1 (- (* t z) x))))
10.9b
(* (- (* y z) x) (/ 1 (- (* t z) x)))
10.9b
(* (- (* y z) x) (/ 1 (- (* t z) x)))
10.9b
(* (- (* y z) x) (/ 1 (- (* t z) x)))

rewrite88.0ms

Algorithm
rewrite-expression-head
Rules
49×add-sqr-sqrt
45×associate-*r*
33×times-frac
31×add-exp-log *-un-lft-identity
28×add-cube-cbrt
19×add-cbrt-cube
12×prod-exp
11×flip3-- flip--
10×pow1
associate-*l* unswap-sqr
frac-times associate-*l/
cbrt-div div-exp associate-/r/ cbrt-unprod
associate-*r/ un-div-inv add-log-exp
cbrt-undiv rec-exp 1-exp pow-prod-down *-commutative div-inv
cbrt-prod pow1/3
Counts
4 → 141
Calls
4 calls:
8.0ms
(cbrt (* (- (* y z) x) (/ 1 (- (* t z) x))))
24.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))
24.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))
27.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

series336.0ms

Counts
4 → 12
Calls
4 calls:
166.0ms
(cbrt (* (- (* y z) x) (/ 1 (- (* t z) x))))
54.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))
56.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))
59.0ms
(* (- (* y z) x) (/ 1 (- (* t z) x)))

simplify45.0ms

Algorithm
egg-herbie
Counts
153 → 153
Iterations

Useful iterations: 2 (32.0ms)

IterNodesCost
03221264
113431105
250011066

prune548.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 0.5b

regimes230.0ms

Accuracy

59% (2.8b remaining)

Error of 3.7b against oracle of 0.9b and baseline of 7.7b

bsearch96.0ms

Steps
ItersRangePoint
9
1.6784019503397877e+183
4.994442467960035e+189
1.7007480808185116e+183
8
-2.903246339363953e+50
-4.467281414413093e+46
-2.3970092238395534e+50

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03513
13513

end0.0ms

sample585.0ms

Algorithm
intervals
Results
360.0ms8326×body80valid