Details

Time bar (total: 2.7s)

sample28.0ms

Algorithm
intervals
Results
17.0ms486×body80valid

simplify149.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (7.0ms)

IterNodesCost
0209
1489
21139
32775
47055
515715
644935
750025

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 7.9b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* 3 (* x.im (* x.re x.re))) (pow x.im 3))
0.2b
(* 3 (* x.im (* x.re x.re)))
8.4b
(* x.im (* x.re x.re))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt associate-*l*
add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r* *-commutative
sub-neg flip3-- diff-log flip-- unswap-sqr
Counts
3 → 52
Calls
3 calls:
18.0ms
(- (* 3 (* x.im (* x.re x.re))) (pow x.im 3))
20.0ms
(* 3 (* x.im (* x.re x.re)))
6.0ms
(* x.im (* x.re x.re))

series120.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(- (* 3 (* x.im (* x.re x.re))) (pow x.im 3))
38.0ms
(* 3 (* x.im (* x.re x.re)))
31.0ms
(* x.im (* x.re x.re))

simplify156.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0205293
1839254
24612251
35001251

prune118.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.1b

localize8.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* 3 (* (* x.im x.re) x.re)) (pow x.im 3))
0.2b
(* (* x.im x.re) x.re)
0.2b
(* 3 (* (* x.im x.re) x.re))

rewrite47.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r* associate-*l*
*-commutative
sub-neg flip3-- diff-log flip--
Counts
3 → 51
Calls
3 calls:
19.0ms
(- (* 3 (* (* x.im x.re) x.re)) (pow x.im 3))
6.0ms
(* (* x.im x.re) x.re)
20.0ms
(* 3 (* (* x.im x.re) x.re))

series117.0ms

Counts
3 → 9
Calls
3 calls:
51.0ms
(- (* 3 (* (* x.im x.re) x.re)) (pow x.im 3))
33.0ms
(* (* x.im x.re) x.re)
33.0ms
(* 3 (* (* x.im x.re) x.re))

simplify43.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0218293
11110254
25002251

prune110.0ms

Pruning

7 alts after pruning (6 fresh and 1 done)

Merged error: 0.0b

localize7.0ms

Local error

Found 3 expressions with local error:

0.0b
(- (* (* 3 (* x.im x.re)) x.re) (pow x.im 3))
0.2b
(* (* 3 (* x.im x.re)) x.re)
0.3b
(* 3 (* x.im x.re))

rewrite46.0ms

Algorithm
rewrite-expression-head
Rules
17×pow1 add-exp-log add-cbrt-cube
pow-prod-down prod-exp cbrt-unprod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity add-log-exp
associate-*r* associate-*l*
*-commutative
sub-neg flip3-- diff-log flip--
Counts
3 → 51
Calls
3 calls:
19.0ms
(- (* (* 3 (* x.im x.re)) x.re) (pow x.im 3))
17.0ms
(* (* 3 (* x.im x.re)) x.re)
9.0ms
(* 3 (* x.im x.re))

series107.0ms

Counts
3 → 9
Calls
3 calls:
52.0ms
(- (* (* 3 (* x.im x.re)) x.re) (pow x.im 3))
36.0ms
(* (* 3 (* x.im x.re)) x.re)
19.0ms
(* 3 (* x.im x.re))

simplify43.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (39.0ms)

IterNodesCost
0218289
11116254
25001251

prune105.0ms

Pruning

7 alts after pruning (5 fresh and 2 done)

Merged error: 0.0b

localize10.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* (* x.im x.re) x.re))) (pow x.im 3))
0.2b
(* (* x.im x.re) x.re)
0.2b
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* (* x.im x.re) x.re)))
0.2b
(* (cbrt 3) (* (* x.im x.re) x.re))

rewrite150.0ms

Algorithm
rewrite-expression-head
Rules
50×pow1 add-exp-log
33×pow-prod-down prod-exp add-cbrt-cube cbrt-unprod
associate-*l*
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
add-log-exp
associate-*r*
cbrt-prod *-commutative
sub-neg flip3-- diff-log flip--
Counts
4 → 88
Calls
4 calls:
62.0ms
(- (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* (* x.im x.re) x.re))) (pow x.im 3))
6.0ms
(* (* x.im x.re) x.re)
56.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* (* x.im x.re) x.re)))
22.0ms
(* (cbrt 3) (* (* x.im x.re) x.re))

series281.0ms

Counts
4 → 12
Calls
4 calls:
95.0ms
(- (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* (* x.im x.re) x.re))) (pow x.im 3))
29.0ms
(* (* x.im x.re) x.re)
87.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* (* x.im x.re) x.re)))
69.0ms
(* (cbrt 3) (* (* x.im x.re) x.re))

simplify60.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (52.0ms)

IterNodesCost
0334787
11688594
25001531

prune165.0ms

Pruning

7 alts after pruning (4 fresh and 3 done)

Merged error: 0.0b

regimes51.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify1.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
0115
1115

end0.0ms

sample745.0ms

Algorithm
intervals
Results
521.0ms14518×body80valid