Details

Time bar (total: 15.8s)

sample38.0ms

Algorithm
intervals
Results
22.0ms450×body80valid

simplify1.4s

Counts
1 → 1
Iterations
IterNodes
done5000
51115
4335
3127
251
120
011

prune17.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.9b

localize17.0ms

Local error

Found 4 expressions with local error:

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

rewrite98.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-+ flip3-- frac-add flip-+ flip--
pow-prod-down prod-exp *-commutative cbrt-unprod difference-of-squares unswap-sqr
+-commutative sum-log sub-neg diff-log
Counts
4 → 69
Calls
4 calls:
12.0ms
(- (* x.re x.re) (* x.im x.im))
25.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
23.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
35.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series286.0ms

Counts
4 → 12
Calls
4 calls:
35.0ms
(- (* x.re x.re) (* x.im x.im))
99.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
39.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
113.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

simplify2.1s

Counts
81 → 81
Iterations
IterNodes
done5001
23220
1437
0138

prune541.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize42.0ms

Local error

Found 4 expressions with local error:

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

rewrite148.0ms

Algorithm
rewrite-expression-head
Rules
15×add-sqr-sqrt
13×pow1 *-un-lft-identity add-cbrt-cube add-exp-log
12×associate-*l* associate-*l/
add-cube-cbrt
associate-*r*
add-log-exp
flip3-+ pow-prod-down prod-exp cbrt-unprod flip-+
frac-times flip3-- flip--
*-commutative
associate-*r/ unswap-sqr
+-commutative sum-log distribute-lft-out distribute-lft-out-- difference-of-squares
Counts
4 → 80
Calls
4 calls:
18.0ms
(* (- x.re x.im) x.im)
16.0ms
(+ (pow (* (+ x.re x.im) (* (- x.re x.im) x.im)) 1) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
32.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
78.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series292.0ms

Counts
4 → 12
Calls
4 calls:
69.0ms
(* (- x.re x.im) x.im)
104.0ms
(+ (pow (* (+ x.re x.im) (* (- x.re x.im) x.im)) 1) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
30.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
89.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify2.0s

Counts
92 → 92
Iterations
IterNodes
done5000
23035
1444
0145

prune496.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.0b

localize36.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))) (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))))
17.5b
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
17.5b
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
17.5b
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))

rewrite243.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
*-un-lft-identity add-cube-cbrt
cbrt-prod
add-exp-log
add-cbrt-cube swap-sqr associate-*r* associate-*l* add-log-exp
pow-prod-down pow-sqr pow-prod-up
pow2 pow-plus prod-exp *-commutative cbrt-unprod unswap-sqr
Counts
4 → 162
Calls
4 calls:
101.0ms
(* (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))) (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))))
48.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
47.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
34.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))

series823.0ms

Counts
4 → 12
Calls
4 calls:
237.0ms
(* (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))) (cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im))))
191.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
197.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))
198.0ms
(cbrt (* (+ x.re x.im) (* (- x.re x.im) x.im)))

simplify893.0ms

Counts
174 → 174
Iterations
IterNodes
done5002
21852
1491
0270

prune1.7s

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0b

localize32.0ms

Local error

Found 4 expressions with local error:

0.5b
(* (cbrt (- x.re x.im)) (cbrt (- x.re x.im)))
0.5b
(cbrt (- x.re x.im))
0.5b
(cbrt (- x.re x.im))
0.5b
(cbrt (- x.re x.im))

rewrite82.0ms

Algorithm
rewrite-expression-head
Rules
43×cbrt-prod
37×add-sqr-sqrt
35×*-un-lft-identity
18×cbrt-div
15×add-cube-cbrt
11×pow1
10×swap-sqr
flip3-- pow1/3 flip-- distribute-lft-out--
associate-*r* associate-*l*
difference-of-squares
add-exp-log
frac-times add-cbrt-cube 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 → 101
Calls
4 calls:
59.0ms
(* (cbrt (- x.re x.im)) (cbrt (- x.re x.im)))
6.0ms
(cbrt (- x.re x.im))
6.0ms
(cbrt (- x.re x.im))
6.0ms
(cbrt (- x.re x.im))

series885.0ms

Counts
4 → 12
Calls
4 calls:
200.0ms
(* (cbrt (- x.re x.im)) (cbrt (- x.re x.im)))
222.0ms
(cbrt (- x.re x.im))
228.0ms
(cbrt (- x.re x.im))
236.0ms
(cbrt (- x.re x.im))

simplify879.0ms

Counts
113 → 113
Iterations
IterNodes
done5000
2993
1286
0131

prune752.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0b

regimes149.0ms

Accuracy

0% (0.6b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations
IterNodes
done25
325
223
121
014

end0.0ms

sample1.9s

Algorithm
intervals
Results
1.4s14293×body80valid