Details

Time bar (total: 3.5s)

sample56.0ms

Algorithm
intervals
Results
17.0ms41×body1280valid
11.0ms42×body640valid
8.0ms133×body80valid
5.0ms26×body320valid
2.0ms14×body160valid

simplify3.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
0115
1115

prune4.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 0.1b

Counts
2 → 1

localize9.0ms

Local error

Found 3 expressions with local error:

0.0b
(+ (* x (sin y)) (* z (cos y)))
0.1b
(* z (cos y))
0.2b
(* x (sin y))

rewrite17.0ms

Algorithm
rewrite-expression-head
Rules
11×add-sqr-sqrt
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube
associate-*r* associate-*l*
add-log-exp
pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
+-commutative flip3-+ sum-log flip-+
Counts
3 → 47
Calls
3 calls:
8.0ms
(+ (* x (sin y)) (* z (cos y)))
4.0ms
(* z (cos y))
4.0ms
(* x (sin y))

series31.0ms

Counts
3 → 9
Calls
3 calls:
16.0ms
(+ (* x (sin y)) (* z (cos y)))
6.0ms
(* z (cos y))
8.0ms
(* x (sin y))

simplify69.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 1 (6.0ms)

IterNodesCost
0185250
1702229
22218229
35001229

prune92.0ms

Filtered
40 candidates to 56 candidates (-40.0%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New47956
Fresh000
Picked101
Done000
Total48957

Merged error: 0.0b

Counts
57 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (cos y)) (cbrt (cos y)))
0.3b
(cbrt (cos y))
0.3b
(cbrt (cos y))
0.3b
(cbrt (cos y))

rewrite12.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-exp-log swap-sqr associate-*r* associate-*l*
add-cbrt-cube add-log-exp unswap-sqr
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 73
Calls
4 calls:
6.0ms
(* (cbrt (cos y)) (cbrt (cos y)))
1.0ms
(cbrt (cos y))
1.0ms
(cbrt (cos y))
1.0ms
(cbrt (cos y))

series78.0ms

Counts
4 → 12
Calls
4 calls:
27.0ms
(* (cbrt (cos y)) (cbrt (cos y)))
17.0ms
(cbrt (cos y))
17.0ms
(cbrt (cos y))
17.0ms
(cbrt (cos y))

simplify106.0ms

Algorithm
egg-herbie
Counts
85 → 85
Iterations

Useful iterations: 3 (100.0ms)

IterNodesCost
0125433
1507381
23337357
35001351

prune114.0ms

Filtered
60 candidates to 85 candidates (-41.7%)
Pruning

9 alts after pruning (9 fresh and 0 done)

PrunedKeptTotal
New83285
Fresh178
Picked101
Done000
Total85994

Merged error: 0.0b

Counts
94 → 9

localize14.0ms

Local error

Found 4 expressions with local error:

0.2b
(* x (sin y))
0.3b
(pow (cos y) 2)
0.3b
(cbrt (cos y))
0.4b
(cbrt (pow (cos y) 2))

rewrite11.0ms

Algorithm
rewrite-expression-head
Rules
13×add-sqr-sqrt
11×cbrt-prod add-cube-cbrt *-un-lft-identity
pow1 add-exp-log
unpow-prod-down add-cbrt-cube
add-log-exp
pow-unpow associate-*r* associate-*l*
pow1/3 unpow2 sqr-pow
pow-to-exp pow-pow pow-prod-down pow-exp prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 63
Calls
4 calls:
4.0ms
(* x (sin y))
2.0ms
(pow (cos y) 2)
1.0ms
(cbrt (cos y))
2.0ms
(cbrt (pow (cos y) 2))

series53.0ms

Counts
4 → 12
Calls
4 calls:
7.0ms
(* x (sin y))
3.0ms
(pow (cos y) 2)
17.0ms
(cbrt (cos y))
26.0ms
(cbrt (pow (cos y) 2))

simplify101.0ms

Algorithm
egg-herbie
Counts
75 → 75
Iterations

Useful iterations: 3 (95.0ms)

IterNodesCost
0206301
1736261
23102255
35002254

prune141.0ms

Filtered
50 candidates to 75 candidates (-50.0%)
Pruning

10 alts after pruning (10 fresh and 0 done)

PrunedKeptTotal
New73275
Fresh088
Picked101
Done000
Total741084

Merged error: 0.0b

Counts
84 → 10

localize20.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (pow (cos y) 2)) (cbrt (pow (cos y) 2)))
0.4b
(cbrt (pow (cos y) 2))
0.4b
(cbrt (pow (cos y) 2))
0.4b
(cbrt (pow (cos y) 2))

rewrite22.0ms

Algorithm
rewrite-expression-head
Rules
96×cbrt-prod
52×add-sqr-sqrt
31×unpow-prod-down
25×unswap-sqr
22×add-cube-cbrt *-un-lft-identity
17×unpow2 sqr-pow
11×pow1 swap-sqr associate-*r* associate-*l*
pow1/3
add-exp-log
add-cbrt-cube add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 124
Calls
4 calls:
10.0ms
(* (cbrt (pow (cos y) 2)) (cbrt (pow (cos y) 2)))
2.0ms
(cbrt (pow (cos y) 2))
2.0ms
(cbrt (pow (cos y) 2))
2.0ms
(cbrt (pow (cos y) 2))

series103.0ms

Counts
4 → 12
Calls
4 calls:
23.0ms
(* (cbrt (pow (cos y) 2)) (cbrt (pow (cos y) 2)))
25.0ms
(cbrt (pow (cos y) 2))
28.0ms
(cbrt (pow (cos y) 2))
26.0ms
(cbrt (pow (cos y) 2))

simplify143.0ms

Algorithm
egg-herbie
Counts
136 → 136
Iterations

Useful iterations: 3 (128.0ms)

IterNodesCost
01931069
1729902
24539871
35001866

prune286.0ms

Filtered
79 candidates to 136 candidates (-72.2%)
Pruning

10 alts after pruning (9 fresh and 1 done)

PrunedKeptTotal
New1360136
Fresh099
Picked011
Done000
Total13610146

Merged error: 0.0b

Counts
146 → 10

regimes248.0ms

Accuracy

0% (0.3b remaining)

Error of 0.3b against oracle of 0.1b and baseline of 0.3b

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
02220
12220

end0.0ms

sample1.7s

Algorithm
intervals
Results
672.0ms1515×body1280valid
335.0ms1193×body640valid
279.0ms4389×body80valid
112.0ms604×body320valid
39.0ms299×body160valid

Profiling

Loading profile data...