Details

Time bar (total: 1.1m)

sample77.0ms

Algorithm
intervals
Results
50.0ms501×body80valid

simplify14.9s

Counts
1 → 1
Iterations
IterNodes
done5000
63011
51121
4383
3146
255
124
011

prune16.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.4b

localize55.0ms

Local error

Found 4 expressions with local error:

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

rewrite184.0ms

Algorithm
rewrite-expression-head
Rules
12×add-sqr-sqrt associate-*l/
pow1 add-exp-log add-cube-cbrt *-un-lft-identity add-cbrt-cube 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:
9.0ms
(- (* x.re x.re) (* x.im x.im))
61.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
51.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
58.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

series509.0ms

Counts
4 → 12
Calls
4 calls:
54.0ms
(- (* x.re x.re) (* x.im x.im))
271.0ms
(- (* (- (* x.re x.re) (* x.im x.im)) x.re) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
57.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
127.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.re)

simplify8.9s

Counts
94 → 94
Iterations
IterNodes
done5004
21784
1438
0154

prune1.7s

Pruning

11 alts after pruning (11 fresh and 0 done)

Merged error: 0.0b

localize95.0ms

Local error

Found 4 expressions with local error:

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

rewrite1.0s

Algorithm
rewrite-expression-head
Rules
44×associate-*l/
18×flip3-+ flip-+
16×frac-sub
15×add-sqr-sqrt
13×pow1 add-exp-log *-un-lft-identity add-cbrt-cube
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:
46.0ms
(* (- x.re x.im) x.re)
805.0ms
(- (* (+ x.im x.re) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
46.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
100.0ms
(* (+ x.im x.re) (* (- x.re x.im) x.re))

series416.0ms

Counts
4 → 12
Calls
4 calls:
93.0ms
(* (- x.re x.im) x.re)
128.0ms
(- (* (+ x.im x.re) (* (- x.re x.im) x.re)) (* (+ (* x.re x.im) (* x.im x.re)) x.im))
60.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.im)
125.0ms
(* (+ x.im x.re) (* (- x.re x.im) x.re))

simplify6.0s

Counts
119 → 119
Iterations
IterNodes
done5000
24203
1803
0227

prune1.8s

Pruning

12 alts after pruning (12 fresh and 0 done)

Merged error: 0.0b

localize40.0ms

Local error

Found 4 expressions with local error:

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

rewrite243.0ms

Algorithm
rewrite-expression-head
Rules
16×add-sqr-sqrt
13×associate-*r*
12×*-un-lft-identity
11×associate-*l*
10×add-cube-cbrt
pow1 add-exp-log add-cbrt-cube
add-log-exp
expm1-log1p-u associate-*l/ log1p-expm1-u
distribute-lft-neg-in distribute-rgt-neg-in
distribute-rgt-out flip3-+ count-2 pow-prod-down prod-exp *-commutative cbrt-unprod flip-+ distribute-lft-out unswap-sqr
+-commutative neg-mul-1 flip3-- fma-def sum-log distribute-rgt-neg-out flip-- fma-udef distribute-lft-out-- difference-of-squares
Counts
4 → 84
Calls
4 calls:
37.0ms
(+ (* x.re x.im) (* x.re x.im))
97.0ms
(* (- x.re x.im) x.re)
1.0ms
(fma (+ x.im x.re) (* (- x.re x.im) x.re) (* (+ (* x.re x.im) (* x.re x.im)) (- x.im)))
104.0ms
(* (+ (* x.re x.im) (* x.re x.im)) (- x.im))

series589.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(+ (* x.re x.im) (* x.re x.im))
62.0ms
(* (- x.re x.im) x.re)
332.0ms
(fma (+ x.im x.re) (* (- x.re x.im) x.re) (* (+ (* x.re x.im) (* x.re x.im)) (- x.im)))
153.0ms
(* (+ (* x.re x.im) (* x.re x.im)) (- x.im))

simplify3.2s

Counts
96 → 96
Iterations
IterNodes
done5001
21246
1311
0131

prune799.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize99.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (cbrt (* (+ x.im x.re) (* (- x.re x.im) x.re))) (cbrt (* (+ x.im x.re) (* (- x.re x.im) x.re))))
11.0b
(cbrt (* (+ x.im x.re) (* (- x.re x.im) x.re)))
11.0b
(cbrt (* (+ x.im x.re) (* (- x.re x.im) x.re)))
11.0b
(cbrt (* (+ x.im x.re) (* (- x.re x.im) x.re)))

rewrite685.0ms

Algorithm
rewrite-expression-head
Rules
176×associate-*l/
168×cbrt-div
148×frac-times
63×flip3-- flip3-+ flip-- flip-+
50×associate-*r/
11×pow1
10×add-sqr-sqrt
pow1/3
add-cube-cbrt *-un-lft-identity
cbrt-prod
add-exp-log
expm1-log1p-u swap-sqr associate-*r* associate-*l* add-cbrt-cube log1p-expm1-u add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 170
Calls
4 calls:
294.0ms
(* (cbrt (* (+ x.im x.re) (* (- x.re x.im) x.re))) (cbrt (* (+ x.im x.re) (* (- x.re x.im) x.re))))
56.0ms
(cbrt (* (+ x.im x.re) (* (- x.re x.im) x.re)))
62.0ms
(cbrt (* (+ x.im x.re) (* (- x.re x.im) x.re)))
97.0ms
(cbrt (* (+ x.im x.re) (* (- x.re x.im) x.re)))

series1.4s

Counts
4 → 12
Calls
4 calls:
289.0ms
(* (cbrt (* (+ x.im x.re) (* (- x.re x.im) x.re))) (cbrt (* (+ x.im x.re) (* (- x.re x.im) x.re))))
240.0ms
(cbrt (* (+ x.im x.re) (* (- x.re x.im) x.re)))
344.0ms
(cbrt (* (+ x.im x.re) (* (- x.re x.im) x.re)))
499.0ms
(cbrt (* (+ x.im x.re) (* (- x.re x.im) x.re)))

simplify3.6s

Counts
182 → 182
Iterations
IterNodes
done5000
21305
1502
0275

prune5.7s

Pruning

11 alts after pruning (9 fresh and 2 done)

Merged error: 0.0b

regimes413.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify25.0ms

Iterations
IterNodes
done28
428
323
220
116
010

end1.0ms

sample12.2s

Algorithm
intervals
Results
11.3s14572×body80valid