Details

Time bar (total: 2.3s)

sample36.0ms

Algorithm
intervals
Results
8.0ms256×body80valid
7.0ms240×pre80false
4.0ms256×pre80true

simplify48.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0187
1477
21067
32657
414957
550017

prune3.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 15.1b

Counts
2 → 1

localize7.0ms

Local error

Found 2 expressions with local error:

0.0b
(- (* a a) (* b b))
14.6b
(/ (- (* a a) (* b b)) (* a a))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
add-exp-log add-cbrt-cube
add-sqr-sqrt add-cube-cbrt *-un-lft-identity times-frac associate-/l* add-log-exp
difference-of-squares
pow1 cbrt-undiv flip3-- div-exp flip-- associate-/l/
sub-neg frac-2neg diff-log div-sub prod-exp clear-num associate-/r* cbrt-unprod div-inv
Counts
2 → 39
Calls
2 calls:
4.0ms
(- (* a a) (* b b))
7.0ms
(/ (- (* a a) (* b b)) (* a a))

series14.0ms

Counts
2 → 6
Calls
2 calls:
6.0ms
(- (* a a) (* b b))
8.0ms
(/ (- (* a a) (* b b)) (* a a))

simplify151.0ms

Algorithm
egg-herbie
Counts
45 → 45
Iterations

Useful iterations: 3 (147.0ms)

IterNodesCost
0206285
1933242
24682242
35001241

prune66.0ms

Filtered
33 candidates to 45 candidates (-36.4%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New43245
Fresh000
Picked101
Done000
Total44246

Merged error: 0.0b

Counts
46 → 2

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(/ (- a b) a)
0.0b
(/ (+ a b) a)
0.0b
(* (/ (+ a b) a) (/ (- a b) a))

rewrite35.0ms

Algorithm
rewrite-expression-head
Rules
67×*-un-lft-identity
65×add-sqr-sqrt
58×times-frac
39×add-cube-cbrt
19×add-exp-log associate-*r* add-cbrt-cube
16×associate-*l*
associate-/l*
distribute-lft-out distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp associate-/r*
pow1
prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
add-log-exp
frac-2neg clear-num
frac-times flip3-- flip3-+ div-sub associate-*r/ pow-prod-down associate-*l/ *-commutative flip-- flip-+
Counts
3 → 130
Calls
3 calls:
6.0ms
(/ (- a b) a)
6.0ms
(/ (+ a b) a)
19.0ms
(* (/ (+ a b) a) (/ (- a b) a))

series17.0ms

Counts
3 → 9
Calls
3 calls:
4.0ms
(/ (- a b) a)
4.0ms
(/ (+ a b) a)
9.0ms
(* (/ (+ a b) a) (/ (- a b) a))

simplify60.0ms

Algorithm
egg-herbie
Counts
139 → 139
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0467819
12446744
25001742

prune143.0ms

Filtered
96 candidates to 139 candidates (-44.8%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New1372139
Fresh101
Picked011
Done000
Total1383141

Merged error: 0b

Counts
141 → 3

localize12.0ms

Local error

Found 4 expressions with local error:

0.0b
(log (exp (* (/ (+ a b) a) (/ (- a b) a))))
0.0b
(/ (- a b) a)
0.0b
(/ (+ a b) a)
0.0b
(* (/ (+ a b) a) (/ (- a b) a))

rewrite36.0ms

Algorithm
rewrite-expression-head
Rules
69×*-un-lft-identity
67×add-sqr-sqrt
58×times-frac
41×add-cube-cbrt
20×add-exp-log add-cbrt-cube
19×associate-*r*
16×associate-*l*
associate-/l*
pow1 distribute-lft-out distribute-lft-out-- difference-of-squares
cbrt-undiv div-exp associate-/r*
add-log-exp
prod-exp cbrt-unprod div-inv associate-/l/ unswap-sqr
log-prod log-pow
frac-2neg clear-num
frac-times exp-prod flip3-- exp-to-pow flip3-+ div-sub associate-*r/ rem-log-exp pow-prod-down associate-*l/ *-commutative flip-- flip-+
Counts
4 → 144
Calls
4 calls:
2.0ms
(log (exp (* (/ (+ a b) a) (/ (- a b) a))))
6.0ms
(/ (- a b) a)
6.0ms
(/ (+ a b) a)
17.0ms
(* (/ (+ a b) a) (/ (- a b) a))

series29.0ms

Counts
4 → 12
Calls
4 calls:
9.0ms
(log (exp (* (/ (+ a b) a) (/ (- a b) a))))
7.0ms
(/ (- a b) a)
4.0ms
(/ (+ a b) a)
9.0ms
(* (/ (+ a b) a) (/ (- a b) a))

simplify61.0ms

Algorithm
egg-herbie
Counts
156 → 156
Iterations

Useful iterations: 2 (50.0ms)

IterNodesCost
0485946
12467852
25002850

prune191.0ms

Filtered
108 candidates to 156 candidates (-44.4%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New1560156
Fresh011
Picked011
Done011
Total1563159

Merged error: 0b

Counts
159 → 3

localize16.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt a)
0.7b
(cbrt (- a b))
0.7b
(cbrt (- a b))
0.7b
(cbrt (- a b))

rewrite12.0ms

Algorithm
rewrite-expression-head
Rules
18×cbrt-prod
14×add-sqr-sqrt *-un-lft-identity
add-cube-cbrt
cbrt-div
pow1 add-exp-log pow1/3 add-cbrt-cube add-log-exp
flip3-- flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 56
Calls
4 calls:
1.0ms
(cbrt a)
3.0ms
(cbrt (- a b))
3.0ms
(cbrt (- a b))
3.0ms
(cbrt (- a b))

series107.0ms

Counts
4 → 12
Calls
4 calls:
25.0ms
(cbrt a)
26.0ms
(cbrt (- a b))
26.0ms
(cbrt (- a b))
30.0ms
(cbrt (- a b))

simplify159.0ms

Algorithm
egg-herbie
Counts
68 → 68
Iterations

Useful iterations: 3 (31.0ms)

IterNodesCost
0184384
1393362
21041313
34561290
45001290

prune87.0ms

Filtered
52 candidates to 68 candidates (-30.8%)
Pruning

3 alts after pruning (0 fresh and 3 done)

PrunedKeptTotal
New68068
Fresh000
Picked011
Done022
Total68371

Merged error: 0b

Counts
71 → 3

regimes74.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0139
1139

end0.0ms

sample908.0ms

Algorithm
intervals
Results
252.0ms8000×body80valid
138.0ms8193×pre80false
134.0ms8000×pre80true

Profiling

Loading profile data...