Details

Time bar (total: 2.9s)

sample15.0ms

Algorithm
intervals
Results
7.0ms318×body80valid

simplify117.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0153
1253
2363
3403
4463
5583
6933
71303
81633
92733
105073
1116183
1250013

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

localize5.0ms

Local error

Found 2 expressions with local error:

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

rewrite10.0ms

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

series52.0ms

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

simplify93.0ms

Algorithm
egg-herbie
Counts
42 → 42
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0186164
1769149
23884149
35001149

prune58.0ms

Filtered
42 candidates to 28 candidates (66.7%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New39342
Fresh000
Picked011
Done000
Total39443

Merged error: 0.0b

Counts
43 → 4

localize9.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ x (* y (+ z x)))) (cbrt (+ x (* y (+ z x)))))
0.5b
(cbrt (+ x (* y (+ z x))))
0.5b
(cbrt (+ x (* y (+ z x))))
0.5b
(cbrt (+ x (* y (+ z x))))

rewrite18.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×add-cube-cbrt *-un-lft-identity
11×pow1
flip3-+ pow1/3 flip-+
add-exp-log swap-sqr associate-*r* associate-*l*
frac-times add-cbrt-cube add-log-exp unswap-sqr
associate-*r/ pow-prod-down associate-*l/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 87
Calls
4 calls:
8.0ms
(* (cbrt (+ x (* y (+ z x)))) (cbrt (+ x (* y (+ z x)))))
2.0ms
(cbrt (+ x (* y (+ z x))))
2.0ms
(cbrt (+ x (* y (+ z x))))
2.0ms
(cbrt (+ x (* y (+ z x))))

series734.0ms

Counts
4 → 12
Calls
4 calls:
232.0ms
(* (cbrt (+ x (* y (+ z x)))) (cbrt (+ x (* y (+ z x)))))
169.0ms
(cbrt (+ x (* y (+ z x))))
166.0ms
(cbrt (+ x (* y (+ z x))))
167.0ms
(cbrt (+ x (* y (+ z x))))

simplify49.0ms

Algorithm
egg-herbie
Counts
99 → 99
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
03351189
111881119
250021014

prune234.0ms

Filtered
99 candidates to 75 candidates (75.8%)
Pruning

4 alts after pruning (3 fresh and 1 done)

PrunedKeptTotal
New98199
Fresh022
Picked101
Done011
Total994103

Merged error: 0.0b

Counts
103 → 4

localize8.0ms

Local error

Found 4 expressions with local error:

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

rewrite24.0ms

Algorithm
rewrite-expression-head
Rules
28×add-sqr-sqrt
24×sqrt-prod
21×pow1
16×sqrt-div
14×add-cube-cbrt *-un-lft-identity
10×sqrt-pow1 pow1/2
flip3-+ flip-+
swap-sqr
add-exp-log associate-*r* associate-*l* add-cbrt-cube add-log-exp
pow-prod-up
frac-times unswap-sqr
pow-prod-down pow-sqr
rem-sqrt-square associate-+r+ associate-*r/ associate-*l/
+-commutative pow2 distribute-rgt-in distribute-lft-in pow-plus sqrt-unprod prod-exp sum-log rem-square-sqrt *-commutative cbrt-unprod
Counts
4 → 100
Calls
4 calls:
6.0ms
(+ x (* y (+ z x)))
3.0ms
(sqrt (+ x (* y (+ z x))))
3.0ms
(sqrt (+ x (* y (+ z x))))
10.0ms
(* (sqrt (+ x (* y (+ z x)))) (sqrt (+ x (* y (+ z x)))))

series310.0ms

Counts
4 → 12
Calls
4 calls:
26.0ms
(+ x (* y (+ z x)))
127.0ms
(sqrt (+ x (* y (+ z x))))
129.0ms
(sqrt (+ x (* y (+ z x))))
27.0ms
(* (sqrt (+ x (* y (+ z x)))) (sqrt (+ x (* y (+ z x)))))

simplify44.0ms

Algorithm
egg-herbie
Counts
112 → 112
Iterations

Useful iterations: 2 (34.0ms)

IterNodesCost
0228778
1930702
25001678

prune172.0ms

Filtered
112 candidates to 65 candidates (58.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New1120112
Fresh022
Picked011
Done011
Total1124116

Merged error: 0.0b

Counts
116 → 4

localize7.0ms

Local error

Found 4 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
16×*-un-lft-identity sqrt-div
15×add-sqr-sqrt
14×associate-*r*
13×sqrt-prod
12×pow1
11×add-exp-log add-cbrt-cube
10×add-cube-cbrt associate-*r/
flip3-+ flip-+
add-log-exp
frac-times associate-*l* pow-prod-down prod-exp cbrt-unprod
distribute-lft-out
associate-*l/ *-commutative unswap-sqr
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
4 → 82
Calls
4 calls:
3.0ms
(sqrt (+ z x))
3.0ms
(+ x (* (* y (sqrt (+ z x))) (sqrt (+ z x))))
8.0ms
(* y (sqrt (+ z x)))
12.0ms
(* (* y (sqrt (+ z x))) (sqrt (+ z x)))

series177.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(sqrt (+ z x))
35.0ms
(+ x (* (* y (sqrt (+ z x))) (sqrt (+ z x))))
61.0ms
(* y (sqrt (+ z x)))
48.0ms
(* (* y (sqrt (+ z x))) (sqrt (+ z x)))

simplify55.0ms

Algorithm
egg-herbie
Counts
94 → 94
Iterations

Useful iterations: 2 (44.0ms)

IterNodesCost
0430634
11814524
25001506

prune157.0ms

Filtered
94 candidates to 63 candidates (67.0%)
Pruning

4 alts after pruning (2 fresh and 2 done)

PrunedKeptTotal
New93194
Fresh011
Picked101
Done022
Total94498

Merged error: 0b

Counts
98 → 4

regimes91.0ms

Accuracy

0% (0.0b remaining)

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

bsearch0.0ms

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
093
193

end0.0ms

sample417.0ms

Algorithm
intervals
Results
223.0ms9969×body80valid

Profiling

Loading profile data...