Details

Time bar (total: 1.8s)

sample23.0ms

Algorithm
intervals
Results
9.0ms319×body80valid

simplify50.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0114
1184
2324
3474
4574
5754
61094
71784
83974
913694
1050014

prune3.0ms

Filtered
1 candidates to 0 candidates (100.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 3 expressions with local error:

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

rewrite16.0ms

Algorithm
rewrite-expression-head
Rules
17×add-sqr-sqrt
15×*-un-lft-identity
13×add-cube-cbrt
times-frac
add-exp-log add-cbrt-cube
pow1 associate-*r* add-log-exp
distribute-rgt-in sub-neg associate-+r+ distribute-lft-in
associate-*l* associate-/r* associate-/l*
flip3-+ associate-*r/ flip-+ associate-/l/
cbrt-undiv +-commutative flip3-- frac-2neg div-exp pow-prod-down prod-exp clear-num sum-log *-commutative flip-- cbrt-unprod div-inv distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 70
Calls
3 calls:
3.0ms
(+ x (* y (- z x)))
6.0ms
(* y (- z x))
5.0ms
(/ (+ x (* y (- z x))) z)

series23.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(+ x (* y (- z x)))
7.0ms
(* y (- z x))
10.0ms
(/ (+ x (* y (- z x))) z)

simplify122.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (9.0ms)

IterNodesCost
0259420
11042388
24769388
35002388

prune92.0ms

Filtered
79 candidates to 54 candidates (31.6%)
Pruning

6 alts after pruning (6 fresh and 0 done)

PrunedKeptTotal
New73679
Fresh000
Picked101
Done000
Total74680

Merged error: 1.8b

Counts
80 → 6

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ (/ x z) y) (/ (* x y) z))
0.0b
(+ (/ x z) y)
5.4b
(/ (* x y) z)

rewrite22.0ms

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

series18.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(- (+ (/ x z) y) (/ (* x y) z))
5.0ms
(+ (/ x z) y)
6.0ms
(/ (* x y) z)

simplify33.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (28.0ms)

IterNodesCost
0253328
11102308
25001304

prune64.0ms

Filtered
61 candidates to 41 candidates (32.8%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New59261
Fresh325
Picked101
Done000
Total63467

Merged error: 0.0b

Counts
67 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ (/ x z) y) (/ x (/ z y)))
0.0b
(+ (/ x z) y)
4.3b
(/ x (/ z y))

rewrite35.0ms

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

series21.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(- (+ (/ x z) y) (/ x (/ z y)))
8.0ms
(+ (/ x z) y)
6.0ms
(/ x (/ z y))

simplify64.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0484731
11905706
25002701

prune101.0ms

Filtered
112 candidates to 87 candidates (22.3%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1120112
Fresh033
Picked011
Done000
Total1124116

Merged error: 0.0b

Counts
116 → 4

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (+ (/ x z) y) (* x (/ y z)))
0.0b
(+ (/ x z) y)
4.5b
(* x (/ y z))

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
16×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*
flip3-+ diff-log prod-exp sum-log frac-sub cbrt-unprod flip-+ unswap-sqr
cbrt-undiv +-commutative sub-neg flip3-- div-exp pow-prod-down associate--l+ *-commutative flip-- div-inv distribute-lft-out
Counts
3 → 60
Calls
3 calls:
8.0ms
(- (+ (/ x z) y) (* x (/ y z)))
6.0ms
(+ (/ x z) y)
8.0ms
(* x (/ y z))

series17.0ms

Counts
3 → 9
Calls
3 calls:
7.0ms
(- (+ (/ x z) y) (* x (/ y z)))
5.0ms
(+ (/ x z) y)
5.0ms
(* x (/ y z))

simplify40.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (35.0ms)

IterNodesCost
0311352
11363332
25002328

prune55.0ms

Filtered
69 candidates to 47 candidates (31.9%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New69069
Fresh022
Picked011
Done011
Total69473

Merged error: 0.0b

Counts
73 → 4

regimes143.0ms

Accuracy

96.5% (0.1b remaining)

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

bsearch34.0ms

Steps
ItersRangePoint
9
2.1088222951041838e-63
8.673593847597065e-54
9.869723817472704e-55
8
-1.2172227871779381e-14
-3.2290738140384176e-18
-1.3417794474143735e-16

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
03111
13511
23611
33611

end0.0ms

sample723.0ms

Algorithm
intervals
Results
329.0ms10097×body80valid

Profiling

Loading profile data...