Details

Time bar (total: 3.3s)

sample34.0ms

Algorithm
intervals
Results
17.0ms484×body80valid

simplify152.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 3 (8.0ms)

IterNodesCost
0209
1489
21139
32775
47055
515715
644935
750025

prune6.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 8.4b

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.2b
(* x.im (* x.re x.re))

rewrite115.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:
51.0ms
(- (* 3 (* x.im (* x.re x.re))) (pow x.im 3))
45.0ms
(* 3 (* x.im (* x.re x.re)))
17.0ms
(* x.im (* x.re x.re))

series123.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(- (* 3 (* x.im (* x.re x.re))) (pow x.im 3))
34.0ms
(* 3 (* x.im (* x.re x.re)))
32.0ms
(* x.im (* x.re x.re))

simplify152.0ms

Algorithm
egg-herbie
Counts
61 → 61
Iterations

Useful iterations: 2 (29.0ms)

IterNodesCost
0205293
1839254
24612251
35001251

prune118.0ms

Pruning

8 alts after pruning (7 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.2b
(* (* x.im x.re) x.re)

rewrite119.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:
52.0ms
(- (* 3 (* (* x.im x.re) x.re)) (pow x.im 3))
45.0ms
(* 3 (* (* x.im x.re) x.re))
20.0ms
(* (* x.im x.re) x.re)

series124.0ms

Counts
3 → 9
Calls
3 calls:
55.0ms
(- (* 3 (* (* x.im x.re) x.re)) (pow x.im 3))
35.0ms
(* 3 (* (* x.im x.re) x.re))
34.0ms
(* (* x.im x.re) x.re)

simplify45.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (38.0ms)

IterNodesCost
0218293
11110254
25002251

prune112.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 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.1b
(* (* 3 (* x.im x.re)) x.re)
0.3b
(* 3 (* x.im x.re))

rewrite119.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:
53.0ms
(- (* (* 3 (* x.im x.re)) x.re) (pow x.im 3))
49.0ms
(* (* 3 (* x.im x.re)) x.re)
16.0ms
(* 3 (* x.im x.re))

series113.0ms

Counts
3 → 9
Calls
3 calls:
57.0ms
(- (* (* 3 (* x.im x.re)) x.re) (pow x.im 3))
35.0ms
(* (* 3 (* x.im x.re)) x.re)
21.0ms
(* 3 (* x.im x.re))

simplify45.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 2 (41.0ms)

IterNodesCost
0218289
11116254
25001251

prune108.0ms

Pruning

9 alts after pruning (7 fresh and 2 done)

Merged error: 0b

localize11.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
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* (* x.im x.re) x.re)))
0.2b
(* (* x.im x.re) x.re)
0.2b
(* (cbrt 3) (* (* x.im x.re) x.re))

rewrite374.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:
157.0ms
(- (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* (* x.im x.re) x.re))) (pow x.im 3))
146.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* (* x.im x.re) x.re)))
18.0ms
(* (* x.im x.re) x.re)
49.0ms
(* (cbrt 3) (* (* x.im x.re) x.re))

series289.0ms

Counts
4 → 12
Calls
4 calls:
97.0ms
(- (* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* (* x.im x.re) x.re))) (pow x.im 3))
90.0ms
(* (* (cbrt 3) (cbrt 3)) (* (cbrt 3) (* (* x.im x.re) x.re)))
35.0ms
(* (* x.im x.re) x.re)
67.0ms
(* (cbrt 3) (* (* x.im x.re) x.re))

simplify61.0ms

Algorithm
egg-herbie
Counts
100 → 100
Iterations

Useful iterations: 2 (53.0ms)

IterNodesCost
0334787
11688594
25001531

prune168.0ms

Pruning

8 alts after pruning (6 fresh and 2 done)

Merged error: 0b

regimes56.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
0156
1156

end0.0ms

sample835.0ms

Algorithm
intervals
Results
528.0ms14436×body80valid