Details

Time bar (total: 3.8s)

sample17.0ms

Algorithm
intervals
Results
8.0ms327×body80valid

simplify114.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0153
1253
2363
3403
4463
5583
6933
71303
81633
92713
105033
1116143
1250013

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

Counts
2 → 1

localize5.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ x (* y (+ z x)))
0.0b
(* y (+ z x))

rewrite15.0ms

Algorithm
rewrite-expression-head
Rules
10×*-un-lft-identity
add-sqr-sqrt
+-commutative
pow1 add-exp-log distribute-rgt-in add-cube-cbrt associate-+r+ distribute-lft-in associate-*r* associate-*l* add-cbrt-cube add-log-exp
distribute-lft-out
flip3-+ associate-*r/ flip-+
pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
Counts
2 → 42
Calls
2 calls:
8.0ms
(+ x (* y (+ z x)))
6.0ms
(* y (+ z x))

series56.0ms

Counts
2 → 6
Calls
2 calls:
30.0ms
(+ x (* y (+ z x)))
25.0ms
(* y (+ z x))

simplify93.0ms

Algorithm
egg-herbie
Counts
48 → 48
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0185178
1756163
23757163
35001163

prune54.0ms

Filtered
48 candidates to 31 candidates (35.4%)
Pruning

3 alts after pruning (2 fresh and 1 done)

PrunedKeptTotal
New46248
Fresh000
Picked011
Done000
Total46349

Merged error: 0.0b

Counts
49 → 3

localize8.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt y) (cbrt y))
0.5b
(cbrt y)
0.5b
(cbrt y)
0.5b
(cbrt y)

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
15×add-cube-cbrt *-un-lft-identity
11×pow1
pow1/3
add-cbrt-cube
add-exp-log swap-sqr associate-*r* associate-*l*
cbrt-unprod add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative
Counts
4 → 76
Calls
4 calls:
6.0ms
(* (cbrt y) (cbrt y))
1.0ms
(cbrt y)
1.0ms
(cbrt y)
1.0ms
(cbrt y)

series766.0ms

Counts
4 → 12
Calls
4 calls:
215.0ms
(* (cbrt y) (cbrt y))
182.0ms
(cbrt y)
184.0ms
(cbrt y)
186.0ms
(cbrt y)

simplify89.0ms

Algorithm
egg-herbie
Counts
88 → 88
Iterations

Useful iterations: 3 (83.0ms)

IterNodesCost
0124311
1521267
23234241
35002238

prune142.0ms

Filtered
88 candidates to 64 candidates (27.3%)
Pruning

3 alts after pruning (1 fresh and 2 done)

PrunedKeptTotal
New88088
Fresh011
Picked011
Done011
Total88391

Merged error: 0.0b

Counts
91 → 3

localize9.0ms

Local error

Found 4 expressions with local error:

0.0b
(- x (* y (+ z x)))
0.2b
(* (* y (+ z x)) (* y (+ z x)))
4.1b
(- (* x x) (* (* y (+ z x)) (* y (+ z x))))
25.7b
(/ (- (* x x) (* (* y (+ z x)) (* y (+ z x)))) (- x (* y (+ z x))))

rewrite224.0ms

Algorithm
rewrite-expression-head
Rules
1663×add-sqr-sqrt
603×unswap-sqr
593×*-un-lft-identity
525×difference-of-squares
406×times-frac
260×swap-sqr
210×distribute-lft-out--
204×associate-*l*
131×*-commutative
83×add-cube-cbrt
58×associate-/l*
43×pow1
33×associate-*r*
26×distribute-rgt-in distribute-lft-in
20×associate--r+
18×add-exp-log add-cbrt-cube
17×pow-prod-down
14×+-commutative associate-*r/
div-sub
prod-exp cbrt-unprod add-log-exp
associate-/r*
flip3-+ flip-+ distribute-lft-out
frac-times flip3-- pow-sqr pow-prod-up flip--
sub-neg pow-plus diff-log associate-*l/ associate-/r/ associate-/l/
cbrt-undiv pow2 frac-2neg div-exp clear-num div-inv
Counts
4 → 685
Calls
4 calls:
8.0ms
(- x (* y (+ z x)))
18.0ms
(* (* y (+ z x)) (* y (+ z x)))
50.0ms
(- (* x x) (* (* y (+ z x)) (* y (+ z x))))
72.0ms
(/ (- (* x x) (* (* y (+ z x)) (* y (+ z x)))) (- x (* y (+ z x))))

series286.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- x (* y (+ z x)))
32.0ms
(* (* y (+ z x)) (* y (+ z x)))
82.0ms
(- (* x x) (* (* y (+ z x)) (* y (+ z x))))
137.0ms
(/ (- (* x x) (* (* y (+ z x)) (* y (+ z x)))) (- x (* y (+ z x))))

simplify130.0ms

Algorithm
egg-herbie
Counts
697 → 697
Iterations

Useful iterations: 1 (30.0ms)

IterNodesCost
012889475
150019361

prune418.0ms

Filtered
697 candidates to 173 candidates (75.2%)
Pruning

4 alts after pruning (1 fresh and 3 done)

PrunedKeptTotal
New6961697
Fresh000
Picked011
Done022
Total6964700

Merged error: 0b

Counts
700 → 4

localize12.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* y (+ z x)) (* y (+ z x)))
0.2b
(* (* y (+ z x)) (* y (+ z x)))
23.0b
(sqrt (* (* y (+ z x)) (* y (+ z x))))
23.0b
(sqrt (* (* y (+ z x)) (* y (+ z x))))

rewrite100.0ms

Algorithm
rewrite-expression-head
Rules
172×add-sqr-sqrt
162×pow1
132×associate-*r*
126×*-un-lft-identity
108×associate-*l*
104×sqrt-prod
72×swap-sqr
68×pow-prod-down unswap-sqr
56×associate-*r/
54×add-cube-cbrt
32×sqrt-pow1
28×add-exp-log add-cbrt-cube
24×flip3-+ flip-+ distribute-lft-out
22×*-commutative
18×rem-sqrt-square
16×distribute-rgt-in frac-times distribute-lft-in sqrt-div prod-exp pow-sqr pow-prod-up cbrt-unprod
+-commutative pow-plus associate-*l/
pow2 add-log-exp
pow1/2
Counts
4 → 374
Calls
4 calls:
18.0ms
(* (* y (+ z x)) (* y (+ z x)))
22.0ms
(* (* y (+ z x)) (* y (+ z x)))
21.0ms
(sqrt (* (* y (+ z x)) (* y (+ z x))))
21.0ms
(sqrt (* (* y (+ z x)) (* y (+ z x))))

series125.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(* (* y (+ z x)) (* y (+ z x)))
32.0ms
(* (* y (+ z x)) (* y (+ z x)))
25.0ms
(sqrt (* (* y (+ z x)) (* y (+ z x))))
32.0ms
(sqrt (* (* y (+ z x)) (* y (+ z x))))

simplify130.0ms

Algorithm
egg-herbie
Counts
386 → 386
Iterations

Useful iterations: 2 (101.0ms)

IterNodesCost
05522376
138262212
250022142

prune558.0ms

Filtered
386 candidates to 182 candidates (52.8%)
Pruning

4 alts after pruning (0 fresh and 4 done)

PrunedKeptTotal
New3860386
Fresh000
Picked011
Done033
Total3864390

Merged error: 0b

Counts
390 → 4

regimes73.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
093
193

end0.0ms

sample402.0ms

Algorithm
intervals
Results
199.0ms10172×body80valid