Details

Time bar (total: 1.7s)

sample20.0ms

Algorithm
intervals
Results
9.0ms340×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

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 9.6b

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite24.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:
12.0ms
(* x (+ (- y z) 1.0))
10.0ms
(/ (* x (+ (- y z) 1.0)) z)

series69.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
53 → 53
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0254285
11225238
25001238

prune81.0ms

Filtered
53 candidates to 35 candidates (66.0%)
Pruning

5 alts after pruning (5 fresh and 0 done)

PrunedKeptTotal
New48553
Fresh000
Picked101
Done000
Total49554

Merged error: 0b

Counts
54 → 5

localize10.0ms

Local error

Found 2 expressions with local error:

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

rewrite36.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:
8.0ms
(/ z (+ (- y z) 1.0))
21.0ms
(/ x (/ z (+ (- y z) 1.0)))

series87.0ms

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

simplify62.0ms

Algorithm
egg-herbie
Counts
145 → 145
Iterations

Useful iterations: 2 (45.0ms)

IterNodesCost
04551177
121101129
250021126

prune199.0ms

Filtered
145 candidates to 93 candidates (64.1%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1441145
Fresh314
Picked011
Done000
Total1473150

Merged error: 0b

Counts
150 → 3

localize6.0ms

Local error

Found 1 expressions with local error:

3.7b
(* x (/ (+ (- y z) 1.0) z))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
19×associate-*r*
16×add-sqr-sqrt times-frac
11×add-cube-cbrt
add-exp-log add-cbrt-cube distribute-lft-out
pow1 associate-*l* distribute-lft-out--
prod-exp cbrt-unprod unswap-sqr
cbrt-undiv associate-*r/ div-exp pow-prod-down *-commutative div-inv add-log-exp
Counts
1 → 38
Calls
1 calls:
13.0ms
(* x (/ (+ (- y z) 1.0) z))

series41.0ms

Counts
1 → 3
Calls
1 calls:
41.0ms
(* x (/ (+ (- y z) 1.0) z))

simplify95.0ms

Algorithm
egg-herbie
Counts
41 → 41
Iterations

Useful iterations: 1 (7.0ms)

IterNodesCost
0206237
1967210
24357210
35002210

prune49.0ms

Filtered
41 candidates to 25 candidates (61.0%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New41041
Fresh011
Picked011
Done011
Total41344

Merged error: 0b

Counts
44 → 3

localize9.0ms

Local error

Found 1 expressions with local error:

9.7b
(* (/ x z) (+ (- y z) 1.0))

rewrite14.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt *-un-lft-identity
13×associate-*l*
10×times-frac
add-cube-cbrt
add-exp-log add-cbrt-cube
associate-*r*
pow1
frac-times flip3-+ associate-*r/ prod-exp cbrt-unprod flip-+ distribute-lft-out unswap-sqr
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp pow-prod-down associate-*l/ *-commutative div-inv distribute-lft-out-- add-log-exp
Counts
1 → 40
Calls
1 calls:
12.0ms
(* (/ x z) (+ (- y z) 1.0))

series42.0ms

Counts
1 → 3
Calls
1 calls:
42.0ms
(* (/ x z) (+ (- y z) 1.0))

simplify38.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0334267
11328239
25001233

prune60.0ms

Filtered
43 candidates to 30 candidates (69.8%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New43043
Fresh000
Picked011
Done022
Total43346

Merged error: 0b

Counts
46 → 3

regimes60.0ms

Accuracy

97.4% (0.1b remaining)

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

bsearch79.0ms

Steps
ItersRangePoint
8
5.4473845196175054e-12
1.055652560645475e-08
1.472063299110298e-11
11
-1.971746604603823e-16
-1.8762599644922694e-41
-5.982337265658843e-29

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0228
1228

end0.0ms

sample486.0ms

Algorithm
intervals
Results
287.0ms10088×body80valid

Profiling

Loading profile data...