Details

Time bar (total: 1.6s)

sample36.0ms

Algorithm
intervals
Results
17.0ms323×body80valid

simplify97.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

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

Counts
2 → 1

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
distribute-rgt-in associate-+l+ distribute-lft-in associate-*r/
+-commutative sub-neg flip3-+ *-commutative flip-+ associate-/l/ associate-/l*
frac-2neg clear-num div-inv
Counts
2 → 18
Calls
2 calls:
4.0ms
(* x (+ (- y z) 1.0))
6.0ms
(/ (* x (+ (- y z) 1.0)) z)

series70.0ms

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

simplify81.0ms

Algorithm
egg-herbie
Counts
24 → 24
Iterations

Useful iterations: 4 (78.0ms)

IterNodesCost
011997
128691
286991
3323391
4500187

prune45.0ms

Filtered
24 candidates to 14 candidates (58.3%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New20424
Fresh000
Picked101
Done000
Total21425

Merged error: 0.0b

Counts
25 → 4

localize14.0ms

Local error

Found 2 expressions with local error:

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

rewrite13.0ms

Algorithm
rewrite-expression-head
Rules
associate-/r/
frac-2neg clear-num associate-/r* div-inv
flip3-+ flip-+
Counts
2 → 14
Calls
2 calls:
6.0ms
(/ z (+ (- y z) 1.0))
7.0ms
(/ x (/ z (+ (- y z) 1.0)))

series110.0ms

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

simplify38.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 2 (10.0ms)

IterNodesCost
09776
128874
2117472
3500272

prune37.0ms

Filtered
20 candidates to 15 candidates (75.0%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New18220
Fresh213
Picked011
Done000
Total20424

Merged error: 0b

Counts
24 → 4

localize6.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r/
associate-/l/
clear-num
frac-2neg flip3-+ flip-+ div-inv
associate-+l- div-sub associate-*r* un-div-inv *-commutative
Counts
2 → 14
Calls
2 calls:
5.0ms
(/ (+ (- y z) 1.0) z)
5.0ms
(* x (/ (+ (- y z) 1.0) z))

series59.0ms

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

simplify44.0ms

Algorithm
egg-herbie
Counts
20 → 20
Iterations

Useful iterations: 2 (12.0ms)

IterNodesCost
012076
139676
2164673
3500173

prune31.0ms

Filtered
20 candidates to 12 candidates (60.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New20020
Fresh022
Picked011
Done011
Total20424

Merged error: 0b

Counts
24 → 4

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

rewrite21.0ms

Algorithm
rewrite-expression-head
Rules
20×frac-add
15×associate-*r/ clear-num
10×frac-2neg associate-/l*
un-div-inv *-commutative
div-inv
+-commutative associate--l+
sub-neg distribute-rgt-out flip3-- flip3-+ associate-*r* flip-- flip-+
Counts
3 → 35
Calls
3 calls:
7.0ms
(+ (/ (* x y) z) (* 1.0 (/ x z)))
9.0ms
(- (+ (/ (* x y) z) (* 1.0 (/ x z))) x)
3.0ms
(/ (* x y) z)

series99.0ms

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

simplify48.0ms

Algorithm
egg-herbie
Counts
44 → 44
Iterations

Useful iterations: 2 (43.0ms)

IterNodesCost
0324312
11387293
25001265

prune67.0ms

Filtered
44 candidates to 28 candidates (63.6%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New43144
Fresh101
Picked011
Done022
Total44448

Merged error: 0b

Counts
48 → 4

regimes59.0ms

Accuracy

77.4% (0.4b remaining)

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

bsearch65.0ms

Steps
ItersRangePoint
8
9.349759581274407e-114
1.9669099596609714e-110
1.9382208656229947e-110
8
-2.9148937725967404e-17
-3.1158541889032954e-21
-1.062551417993879e-20

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02710
12710

end0.0ms

sample496.0ms

Algorithm
intervals
Results
261.0ms10171×body80valid