Details

Time bar (total: 2.6s)

sample18.0ms

Algorithm
intervals
Results
7.0ms326×body80valid

simplify64.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.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)

rewrite109.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:
70.0ms
(* x (+ (- y z) 1.0))
38.0ms
(/ (* x (+ (- y z) 1.0)) z)

series63.0ms

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

simplify34.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0254285
11225238
25001238

prune89.0ms

Pruning

6 alts after pruning (5 fresh and 1 done)

Merged error: 0.0b

localize9.0ms

Local error

Found 2 expressions with local error:

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

rewrite83.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:
36.0ms
(/ z (+ (- y z) 1.0))
39.0ms
(/ x (/ z (+ (- y z) 1.0)))

series83.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (48.0ms)

IterNodesCost
04551177
121101129
250021126

prune232.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0b

localize8.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.2b
(/ (* x y) z)

rewrite106.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:
14.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
81.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
9.0ms
(/ (* x y) z)

series89.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
33.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
17.0ms
(/ (* x y) z)

simplify32.0ms

Algorithm
egg-herbie
Counts
58 → 58
Iterations

Useful iterations: 2 (27.0ms)

IterNodesCost
0254367
11124344
25002325

prune159.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 0b

localize16.0ms

Local error

Found 4 expressions with local error:

0.0b
(+ (/ 1 (/ z (* x y))) (* 1.0 (/ x z)))
0.0b
(- (+ (/ 1 (/ z (* x y))) (* 1.0 (/ x z))) x)
0.4b
(/ 1 (/ z (* x y)))
5.2b
(/ z (* x y))

rewrite301.0ms

Algorithm
rewrite-expression-head
Rules
36×times-frac
30×add-exp-log
24×add-sqr-sqrt *-un-lft-identity
22×add-cube-cbrt
18×add-cbrt-cube
14×div-exp
11×add-log-exp
associate-/r*
cbrt-undiv
div-inv associate-/l*
pow1
prod-exp
rec-exp 1-exp
frac-2neg diff-log clear-num sum-log cbrt-unprod
+-commutative sub-neg flip3-- pow-flip flip3-+ associate-*r/ frac-add associate--l+ associate-/r/ flip-- flip-+ distribute-lft-out-- inv-pow difference-of-squares
Counts
4 → 105
Calls
4 calls:
33.0ms
(+ (/ 1 (/ z (* x y))) (* 1.0 (/ x z)))
226.0ms
(- (+ (/ 1 (/ z (* x y))) (* 1.0 (/ x z))) x)
25.0ms
(/ 1 (/ z (* x y)))
13.0ms
(/ z (* x y))

series112.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(+ (/ 1 (/ z (* x y))) (* 1.0 (/ x z)))
33.0ms
(- (+ (/ 1 (/ z (* x y))) (* 1.0 (/ x z))) x)
19.0ms
(/ 1 (/ z (* x y)))
18.0ms
(/ z (* x y))

simplify59.0ms

Algorithm
egg-herbie
Counts
117 → 117
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0417726
12072615
25001607

prune174.0ms

Pruning

5 alts after pruning (3 fresh and 2 done)

Merged error: 0b

regimes94.0ms

Accuracy

88.5% (0.4b remaining)

Error of 0.4b against oracle of 0.0b and baseline of 3.4b

bsearch50.0ms

Steps
ItersRangePoint
7
9.593076442092601e-62
3.941738287388325e-60
2.201016357696082e-60
7
-9.022777940030645e+106
-6.429426595456313e+104
-8.180654286668062e+104

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02712
12712

end0.0ms

sample515.0ms

Algorithm
intervals
Results
229.0ms10028×body80valid