Details

Time bar (total: 1.9s)

sample18.0ms

Algorithm
intervals
Results
9.0ms324×body80valid

simplify61.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

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

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: 10.4b

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.7b
(/ (+ 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)

series110.0ms

Counts
3 → 9
Calls
3 calls:
29.0ms
(+ x (* y (- z x)))
33.0ms
(* y (- z x))
47.0ms
(/ (+ x (* y (- z x))) z)

simplify122.0ms

Algorithm
egg-herbie
Counts
79 → 79
Iterations

Useful iterations: 1 (8.0ms)

IterNodesCost
0259420
11042388
24769388
35002388

prune122.0ms

Filtered
79 candidates to 54 candidates (68.4%)
Pruning

3 alts after pruning (3 fresh and 0 done)

PrunedKeptTotal
New76379
Fresh000
Picked101
Done000
Total77380

Merged error: 3.5b

Counts
80 → 3

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite21.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:
9.0ms
(- (+ (/ x z) y) (/ (* x y) z))
6.0ms
(+ (/ x z) y)
4.0ms
(/ (* x y) z)

series67.0ms

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

simplify35.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0253328
11102308
25001304

prune90.0ms

Filtered
61 candidates to 41 candidates (67.2%)
Pruning

5 alts after pruning (4 fresh and 1 done)

PrunedKeptTotal
New59261
Fresh022
Picked011
Done000
Total59564

Merged error: 0b

Counts
64 → 5

localize7.0ms

Local error

Found 3 expressions with local error:

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

rewrite33.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:
18.0ms
(- (+ (/ x z) y) (/ x (/ z y)))
6.0ms
(+ (/ x z) y)
5.0ms
(/ x (/ z y))

series68.0ms

Counts
3 → 9
Calls
3 calls:
27.0ms
(- (+ (/ x z) y) (/ x (/ z y)))
17.0ms
(+ (/ x z) y)
25.0ms
(/ x (/ z y))

simplify52.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (42.0ms)

IterNodesCost
0484731
11905706
25002701

prune188.0ms

Filtered
112 candidates to 86 candidates (76.8%)
Pruning

5 alts after pruning (3 fresh and 2 done)

PrunedKeptTotal
New1120112
Fresh033
Picked011
Done011
Total1125117

Merged error: 0b

Counts
117 → 5

localize9.0ms

Local error

Found 3 expressions with local error:

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

rewrite22.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)
6.0ms
(* x (/ y z))

series67.0ms

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

simplify42.0ms

Algorithm
egg-herbie
Counts
69 → 69
Iterations

Useful iterations: 2 (37.0ms)

IterNodesCost
0311352
11363332
25002328

prune91.0ms

Filtered
69 candidates to 46 candidates (66.7%)
Pruning

5 alts after pruning (2 fresh and 3 done)

PrunedKeptTotal
New69069
Fresh022
Picked011
Done022
Total69574

Merged error: 0b

Counts
74 → 5

regimes103.0ms

Accuracy

84.5% (0.5b remaining)

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

bsearch65.0ms

Steps
ItersRangePoint
8
7.745510735330039e-126
4.353524550176462e-123
1.2163572677015067e-124
9
-2.0127319194809257e-98
-5.726995199473547e-105
-1.101313232056755e-98

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02315
12315

end0.0ms

sample522.0ms

Algorithm
intervals
Results
307.0ms10147×body80valid

Profiling

Loading profile data...