Details

Time bar (total: 2.1s)

sample17.0ms

Algorithm
intervals
Results
8.0ms324×body80valid

simplify69.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0224
1444
21144
32204
43544
55504
616694
750014

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 11.4b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite59.0ms

Algorithm
rewrite-expression-head
Rules
11×*-un-lft-identity
add-exp-log add-cbrt-cube
add-sqr-sqrt
add-cube-cbrt
associate-*r*
pow1 associate-*r/
times-frac associate-*l* associate-/r*
cbrt-undiv flip3-+ div-exp prod-exp cbrt-unprod flip-+ associate-/l/ distribute-lft-out add-log-exp
distribute-rgt-in frac-2neg distribute-lft-in pow-prod-down clear-num *-commutative div-inv associate-/l* distribute-lft-out-- unswap-sqr
Counts
2 → 47
Calls
2 calls:
40.0ms
(* x (+ (- y z) 1.0))
17.0ms
(/ (* x (+ (- y z) 1.0)) z)

series74.0ms

Counts
2 → 6
Calls
2 calls:
33.0ms
(* x (+ (- y z) 1.0))
42.0ms
(/ (* x (+ (- y z) 1.0)) z)

simplify37.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0254285
11225238
25001238

prune99.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
1.5b
(/ x (/ z (+ (- y z) 1.0)))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
150×*-un-lft-identity
138×times-frac
70×add-sqr-sqrt add-cube-cbrt
32×distribute-lft-out
26×associate-/r*
16×distribute-lft-out--
11×associate-/r/
add-exp-log add-cbrt-cube
div-inv associate-/l*
flip3-+ flip-+
cbrt-undiv div-exp
pow1 frac-2neg clear-num add-log-exp
Counts
2 → 139
Calls
2 calls:
18.0ms
(/ z (+ (- y z) 1.0))
22.0ms
(/ x (/ z (+ (- y z) 1.0)))

series93.0ms

Counts
2 → 6
Calls
2 calls:
46.0ms
(/ z (+ (- y z) 1.0))
47.0ms
(/ x (/ z (+ (- y z) 1.0)))

simplify65.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (49.0ms)

IterNodesCost
04551177
121101129
250021126

prune258.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
10×add-log-exp
add-exp-log add-cbrt-cube
add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
pow1 times-frac associate-/r*
cbrt-undiv diff-log div-exp sum-log
+-commutative sub-neg flip3-- frac-2neg flip3-+ associate-*r/ frac-add prod-exp associate--l+ clear-num flip-- cbrt-unprod flip-+ div-inv associate-/l* distribute-lft-out-- difference-of-squares
Counts
3 → 49
Calls
3 calls:
6.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
44.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
3.0ms
(/ (* x y) z)

series105.0ms

Counts
3 → 9
Calls
3 calls:
43.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
43.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
19.0ms
(/ (* x y) z)

simplify34.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0254367
11124344
25002325

prune117.0ms

Pruning

3 alts after pruning (3 fresh and 0 done)

Merged error: 0b

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite41.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
13×*-un-lft-identity associate-*r*
11×add-cube-cbrt
10×times-frac add-log-exp
add-exp-log add-cbrt-cube
pow1
associate-*r/ associate-*l*
diff-log prod-exp sum-log cbrt-unprod unswap-sqr
cbrt-undiv +-commutative sub-neg flip3-- flip3-+ div-exp pow-prod-down frac-add associate--l+ *-commutative flip-- flip-+ div-inv distribute-lft-out-- difference-of-squares
Counts
3 → 60
Calls
3 calls:
4.0ms
(+ (* x (/ y z)) (* 1.0 (/ x z)))
28.0ms
(- (+ (* x (/ y z)) (* 1.0 (/ x z))) x)
7.0ms
(* x (/ y z))

series106.0ms

Counts
3 → 9
Calls
3 calls:
44.0ms
(+ (* x (/ y z)) (* 1.0 (/ x z)))
40.0ms
(- (+ (* x (/ y z)) (* 1.0 (/ x z))) x)
22.0ms
(* x (/ y z))

simplify50.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0312414
11437392
25001376

prune133.0ms

Pruning

3 alts after pruning (2 fresh and 1 done)

Merged error: 0b

regimes64.0ms

Accuracy

84% (0.6b remaining)

Error of 0.6b against oracle of 0.0b and baseline of 3.6b

bsearch77.0ms

Steps
ItersRangePoint
8
1.2548328817032444e+126
4.884715246864704e+128
1.2661444146589493e+126
9
-1.2022643258893338e+38
-3.6618581120833803e+31
-6.094468107972372e+32

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03517
13517

end0.0ms

sample449.0ms

Algorithm
intervals
Results
246.0ms10142×body80valid