Details

Time bar (total: 3.4s)

sample18.0ms

Algorithm
intervals
Results
7.0ms314×body80valid

simplify66.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: 9.9b

localize6.0ms

Local error

Found 2 expressions with local error:

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

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

series78.0ms

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

simplify40.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0254285
11225238
25001238

prune92.0ms

Pruning

5 alts after pruning (5 fresh and 0 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(/ z (+ (- y z) 1.0))
2.9b
(/ 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))
40.0ms
(/ x (/ z (+ (- y z) 1.0)))

series90.0ms

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

simplify58.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (46.0ms)

IterNodesCost
04551177
121101129
250021126

prune230.0ms

Pruning

4 alts after pruning (4 fresh and 0 done)

Merged error: 0b

localize8.0ms

Local error

Found 2 expressions with local error:

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

rewrite235.0ms

Algorithm
rewrite-expression-head
Rules
1138×times-frac
1029×*-un-lft-identity
519×add-sqr-sqrt add-cube-cbrt
468×distribute-lft-neg-in distribute-rgt-neg-in
204×distribute-lft-out
160×associate-/r*
122×neg-mul-1
102×distribute-lft-out--
13×associate-/l*
11×associate-/r/
10×distribute-neg-frac
add-exp-log add-cbrt-cube
div-inv
flip3-+ flip-+
cbrt-undiv div-exp
pow1 frac-2neg clear-num add-log-exp
neg-sub0 div-sub distribute-frac-neg
Counts
2 → 782
Calls
2 calls:
72.0ms
(/ (- z) (- (+ (- y z) 1.0)))
100.0ms
(/ x (/ (- z) (- (+ (- y z) 1.0))))

series105.0ms

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

simplify115.0ms

Algorithm
egg-herbie
Counts
788 → 788
Iterations

Useful iterations: 1 (38.0ms)

IterNodesCost
018008893
150018589

prune1.0s

Pruning

4 alts after pruning (3 fresh and 1 done)

Merged error: 0b

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite144.0ms

Algorithm
rewrite-expression-head
Rules
57×*-un-lft-identity
31×times-frac
27×add-sqr-sqrt
22×add-cube-cbrt
19×associate-*r*
14×distribute-lft-out
add-exp-log add-cbrt-cube
distribute-lft-out--
associate-/l*
pow1
associate-*l* associate-/r*
cbrt-undiv div-exp prod-exp cbrt-unprod div-inv associate-/l/ add-log-exp unswap-sqr
associate-+l- frac-2neg flip3-+ div-sub associate-*r/ pow-prod-down clear-num *-commutative flip-+
Counts
2 → 76
Calls
2 calls:
63.0ms
(/ (+ (- y z) 1.0) z)
78.0ms
(* x (/ (+ (- y z) 1.0) z))

series68.0ms

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

simplify36.0ms

Algorithm
egg-herbie
Counts
82 → 82
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0267479
11167438
25001432

prune110.0ms

Pruning

4 alts after pruning (2 fresh and 2 done)

Merged error: 0b

regimes67.0ms

Accuracy

97.1% (0.1b remaining)

Error of 0.1b against oracle of 0.0b and baseline of 3.3b

bsearch72.0ms

Steps
ItersRangePoint
9
2.8473417172191406e+18
3.9936651684587354e+26
1.8356449162475357e+22
9
-1.9547976034035862e-31
-4.6468225176057056e-38
-1.2554987970560568e-31

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03412
13512
23512

end0.0ms

sample502.0ms

Algorithm
intervals
Results
237.0ms10054×body80valid