Details

Time bar (total: 17.6s)

sample48.0ms

Algorithm
intervals
Results
28.0ms463×body80valid

simplify3.2s

Counts
1 → 1
Iterations
IterNodes
done5001
51929
4533
3180
266
124
011

prune17.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.7b

localize19.0ms

Local error

Found 4 expressions with local error:

0.0b
(- (* x.re x.re) (* x.im x.im))
0.1b
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
0.2b
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
6.3b
(* (- (* x.re x.re) (* x.im x.im)) x.re)

rewrite128.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt associate-*l/
pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt add-log-exp
associate-*l*
associate-*r*
flip3-- flip--
expm1-log1p-u frac-sub log1p-expm1-u
flip3-+ flip-+
sub-neg fma-neg diff-log prod-diff pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
Counts
4 → 82
Calls
4 calls:
12.0ms
(- (* x.re x.re) (* x.im x.im))
34.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
45.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
33.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series282.0ms

Counts
4 → 12
Calls
4 calls:
44.0ms
(- (* x.re x.re) (* x.im x.im))
46.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
105.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
86.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify2.3s

Counts
94 → 94
Iterations
IterNodes
done5000
23289
1462
0154

prune557.0ms

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.1b

localize33.0ms

Local error

Found 4 expressions with local error:

0.0b
(* (- x.re x.im) x.re)
0.1b
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
0.2b
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
0.2b
(* (+ x.re x.im) (* (- x.re x.im) x.re))

rewrite475.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*l/
18×flip3-+ flip-+
16×frac-sub
15×add-sqr-sqrt
13×pow1 *-un-lft-identity add-cbrt-cube add-exp-log
12×frac-times associate-*l*
11×flip3-- flip--
add-cube-cbrt
associate-*r*
associate-*r/ add-log-exp
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u log1p-expm1-u
*-commutative
unswap-sqr
sub-neg fma-neg diff-log prod-diff distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 107
Calls
4 calls:
342.0ms
(* (- x.re x.im) x.re)
21.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
53.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
54.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))

series266.0ms

Counts
4 → 12
Calls
4 calls:
58.0ms
(* (- x.re x.im) x.re)
45.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
88.0ms
(- (* (+ x.re x.im) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
75.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.re))

simplify1.0s

Counts
119 → 119
Iterations
IterNodes
done5001
1801
0224

prune762.0ms

Pruning

16 alts after pruning (16 fresh and 0 done)

Merged error: 0.0b

localize17.0ms

Local error

Found 3 expressions with local error:

0.0b
(* (- x.re x.im) x.re)
0.1b
(* (* x.re x.im) (+ x.im x.im))
0.2b
(fma (+ x.re x.im) (* (- x.re x.im) x.re) (- (* (* x.re x.im) (+ x.im x.im))))

rewrite79.0ms

Algorithm
rewrite-expression-head
Rules
15×associate-*r*
14×add-sqr-sqrt *-un-lft-identity
10×pow1 add-cbrt-cube add-exp-log add-cube-cbrt
associate-*l*
pow-prod-down prod-exp cbrt-unprod
expm1-log1p-u distribute-rgt-out log1p-expm1-u distribute-lft-out add-log-exp
associate-*l/ associate-*r/ *-commutative
distribute-rgt-in distribute-lft-in distribute-lft1-in flip3-+ flip3-- count-2 distribute-rgt1-in flip-+ fma-udef flip-- distribute-lft-out-- difference-of-squares unswap-sqr
Counts
3 → 67
Calls
3 calls:
37.0ms
(* (- x.re x.im) x.re)
38.0ms
(* (* x.re x.im) (+ x.im x.im))
0.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.re) (- (* (* x.re x.im) (+ x.im x.im))))

series220.0ms

Counts
3 → 9
Calls
3 calls:
46.0ms
(* (- x.re x.im) x.re)
36.0ms
(* (* x.re x.im) (+ x.im x.im))
137.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.re) (- (* (* x.re x.im) (+ x.im x.im))))

simplify2.2s

Counts
76 → 76
Iterations
IterNodes
done5001
22177
1311
0113

prune538.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 0.0b

localize64.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
11.8b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
11.8b
(cbrt (+ (* x.re x.im) (* x.im x.re)))
11.8b
(cbrt (+ (* x.re x.im) (* x.im x.re)))

rewrite72.0ms

Algorithm
rewrite-expression-head
Rules
25×cbrt-prod
23×add-sqr-sqrt
18×cbrt-div
15×*-un-lft-identity add-cube-cbrt
11×pow1
flip3-+ pow1/3 flip-+
swap-sqr associate-*r* associate-*l* add-exp-log
expm1-log1p-u frac-times add-cbrt-cube log1p-expm1-u add-log-exp unswap-sqr
pow-prod-down associate-*l/ associate-*r/ pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod
Counts
4 → 95
Calls
4 calls:
56.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
4.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
4.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
4.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

series641.0ms

Counts
4 → 12
Calls
4 calls:
204.0ms
(* (cbrt (+ (* x.re x.im) (* x.im x.re))) (cbrt (+ (* x.re x.im) (* x.im x.re))))
140.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
144.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))
153.0ms
(cbrt (+ (* x.re x.im) (* x.im x.re)))

simplify1.5s

Counts
107 → 107
Iterations
IterNodes
done5001
21198
1315
0123

prune736.0ms

Pruning

14 alts after pruning (13 fresh and 1 done)

Merged error: 0.0b

regimes216.0ms

Accuracy

0% (0.5b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations
IterNodes
done24
324
222
120
014

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.8s14400×body80valid