Details

Time bar (total: 2.5s)

sample17.0ms

Algorithm
intervals
Results
6.0ms256×pre80true
4.0ms256×body80valid

simplify15.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0113
1253
2533
3803
4983
51073
61133
71133

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

Counts
2 → 1

localize6.0ms

Local error

Found 1 expressions with local error:

0.0b
(* (+ a b) (+ a b))

rewrite9.0ms

Algorithm
rewrite-expression-head
Rules
19×*-un-lft-identity
pow1
add-sqr-sqrt
flip3-+ swap-sqr flip-+ distribute-lft-out
add-cube-cbrt
frac-times associate-*r* associate-*l*
add-exp-log add-cbrt-cube
associate-*r/ associate-*l/
pow2 distribute-rgt-in distribute-lft-in pow-plus pow-prod-down prod-exp pow-sqr *-commutative pow-prod-up cbrt-unprod add-log-exp unswap-sqr
Counts
1 → 40
Calls
1 calls:
8.0ms
(* (+ a b) (+ a b))

series14.0ms

Counts
1 → 3
Calls
1 calls:
14.0ms
(* (+ a b) (+ a b))

simplify34.0ms

Algorithm
egg-herbie
Counts
43 → 43
Iterations

Useful iterations: 2 (30.0ms)

IterNodesCost
0189213
1902188
25001170

prune46.0ms

Filtered
43 candidates to 19 candidates (44.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New40343
Fresh000
Picked011
Done000
Total40444

Merged error: 0.0b

Counts
44 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite42.0ms

Algorithm
rewrite-expression-head
Rules
26×*-un-lft-identity
25×flip3-- flip--
24×add-sqr-sqrt
20×add-exp-log add-cbrt-cube
18×pow1
16×frac-times
12×add-cube-cbrt
11×swap-sqr
associate-*r* associate-*l* difference-of-squares
associate-*r/ associate-*l/ associate-/r/ associate-/l/
prod-exp cbrt-unprod distribute-lft-out-- add-log-exp
sub-neg
cbrt-undiv distribute-rgt-in distribute-lft-in div-exp
pow2 pow-plus pow-prod-down pow-sqr *-commutative pow-prod-up unswap-sqr
frac-2neg times-frac diff-log clear-num associate-/r* div-inv associate-/l*
Counts
4 → 135
Calls
4 calls:
3.0ms
(- (* a a) (* b b))
9.0ms
(* (- a b) (- a b))
9.0ms
(* (- (* a a) (* b b)) (- (* a a) (* b b)))
16.0ms
(/ (* (- (* a a) (* b b)) (- (* a a) (* b b))) (* (- a b) (- a b)))

series129.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (* a a) (* b b))
17.0ms
(* (- a b) (- a b))
38.0ms
(* (- (* a a) (* b b)) (- (* a a) (* b b)))
41.0ms
(/ (* (- (* a a) (* b b)) (- (* a a) (* b b))) (* (- a b) (- a b)))

simplify149.0ms

Algorithm
egg-herbie
Counts
147 → 147
Iterations

Useful iterations: 2 (135.0ms)

IterNodesCost
05361348
134121077
250021052

prune198.0ms

Filtered
147 candidates to 87 candidates (59.2%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New1461147
Fresh022
Picked011
Done101
Total1474151

Merged error: 0b

Counts
151 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

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

rewrite50.0ms

Algorithm
rewrite-expression-head
Rules
64×times-frac
45×*-un-lft-identity
41×add-sqr-sqrt
31×add-cube-cbrt
23×difference-of-squares
20×add-exp-log flip3-- add-cbrt-cube flip--
14×associate-/r*
13×associate-/r/
11×pow1
10×associate-/l/
frac-times
cbrt-undiv swap-sqr div-exp div-inv
distribute-lft-out-- add-log-exp
associate-*r* associate-*l* associate-/l*
associate-*r/ associate-*l/
sub-neg prod-exp cbrt-unprod
distribute-rgt-in frac-2neg distribute-lft-in clear-num
pow2 pow-plus diff-log div-sub pow-prod-down pow-sqr *-commutative pow-prod-up unswap-sqr
Counts
4 → 165
Calls
4 calls:
3.0ms
(- (* a a) (* b b))
9.0ms
(* (- a b) (- a b))
17.0ms
(/ (- (* a a) (* b b)) (/ (* (- a b) (- a b)) (- (* a a) (* b b))))
12.0ms
(/ (* (- a b) (- a b)) (- (* a a) (* b b)))

series167.0ms

Counts
4 → 12
Calls
4 calls:
32.0ms
(- (* a a) (* b b))
17.0ms
(* (- a b) (- a b))
38.0ms
(/ (- (* a a) (* b b)) (/ (* (- a b) (- a b)) (- (* a a) (* b b))))
80.0ms
(/ (* (- a b) (- a b)) (- (* a a) (* b b)))

simplify141.0ms

Algorithm
egg-herbie
Counts
177 → 177
Iterations

Useful iterations: 2 (123.0ms)

IterNodesCost
07211999
146311673
250031622

prune265.0ms

Filtered
177 candidates to 126 candidates (71.2%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1770177
Fresh022
Picked011
Done011
Total1774181

Merged error: 0b

Counts
181 → 4

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(* b (- b a))
0.3b
(* (- a b) (+ (pow a 2) (* b (- b a))))
0.4b
(* (- (* a a) (* b b)) (+ (pow a 3) (pow b 3)))
0.4b
(/ (* (- (* a a) (* b b)) (+ (pow a 3) (pow b 3))) (* (- a b) (+ (pow a 2) (* b (- b a)))))

rewrite61.0ms

Algorithm
rewrite-expression-head
Rules
24×*-un-lft-identity
22×add-exp-log add-cbrt-cube
20×add-sqr-sqrt
17×associate-*r*
16×frac-times
13×flip3-- flip--
12×flip3-+ associate-*l* flip-+
10×pow1 add-cube-cbrt associate-*r/
associate-*l/ associate-/r/ associate-/l/
prod-exp cbrt-unprod
distribute-lft-out
cbrt-undiv distribute-rgt-in unpow-prod-down distribute-lft-in cube-prod div-exp add-log-exp
pow-prod-down *-commutative difference-of-squares unswap-sqr
sub-neg distribute-lft-out--
frac-2neg times-frac clear-num associate-/r* sum-cubes div-inv associate-/l*
Counts
4 → 128
Calls
4 calls:
6.0ms
(* b (- b a))
9.0ms
(* (- a b) (+ (pow a 2) (* b (- b a))))
16.0ms
(* (- (* a a) (* b b)) (+ (pow a 3) (pow b 3)))
25.0ms
(/ (* (- (* a a) (* b b)) (+ (pow a 3) (pow b 3))) (* (- a b) (+ (pow a 2) (* b (- b a)))))

series249.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(* b (- b a))
49.0ms
(* (- a b) (+ (pow a 2) (* b (- b a))))
89.0ms
(* (- (* a a) (* b b)) (+ (pow a 3) (pow b 3)))
77.0ms
(/ (* (- (* a a) (* b b)) (+ (pow a 3) (pow b 3))) (* (- a b) (+ (pow a 2) (* b (- b a)))))

simplify37.0ms

Algorithm
egg-herbie
Counts
140 → 140
Iterations

Useful iterations: 1 (22.0ms)

IterNodesCost
08431541
150021377

prune400.0ms

Filtered
140 candidates to 103 candidates (73.6%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New1400140
Fresh011
Picked011
Done022
Total1404144

Merged error: 0b

Counts
144 → 4

regimes52.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
0911

end0.0ms

sample421.0ms

Algorithm
intervals
Results
167.0ms8000×pre80true
125.0ms8000×body80valid