Details

Time bar (total: 21.8s)

sample36.0ms

Algorithm
intervals
Results
20.0ms437×body80valid

simplify6.3s

Counts
1 → 1
Iterations
IterNodes
done5000
74454
61781
5723
4268
3110
250
123
011

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.7b

localize32.0ms

Local error

Found 4 expressions with local error:

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

rewrite125.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-add log1p-expm1-u
flip3-- flip--
+-commutative sum-log fma-def pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
difference-of-squares
Counts
4 → 77
Calls
4 calls:
11.0ms
(+ (* x.re x.im) (* x.im x.re))
37.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
34.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
40.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series281.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ (* x.re x.im) (* x.im x.re))
38.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
107.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
97.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

simplify2.1s

Counts
89 → 89
Iterations
IterNodes
done5001
21660
1426
0143

prune532.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.1b

localize25.0ms

Local error

Found 4 expressions with local error:

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

rewrite150.0ms

Algorithm
rewrite-expression-head
Rules
42×associate-*l/
20×flip3-+ flip-+
16×frac-add
12×frac-times
11×pow1 add-cbrt-cube add-exp-log
add-sqr-sqrt *-un-lft-identity flip3-- flip--
add-log-exp
associate-*l* add-cube-cbrt
associate-*r/
expm1-log1p-u associate-*r* pow-prod-down prod-exp cbrt-unprod log1p-expm1-u
+-commutative sum-log fma-def *-commutative
distribute-lft-out unswap-sqr
Counts
4 → 95
Calls
4 calls:
12.0ms
(+ (* x.re x.im) (* x.im x.re))
34.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
58.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
40.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series256.0ms

Counts
4 → 12
Calls
4 calls:
38.0ms
(+ (* x.re x.im) (* x.im x.re))
38.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
84.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
96.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify2.2s

Counts
107 → 107
Iterations
IterNodes
done5000
23947
1750
0205

prune676.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize24.0ms

Local error

Found 3 expressions with local error:

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

rewrite29.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt
pow1 *-un-lft-identity add-cbrt-cube add-exp-log add-cube-cbrt add-log-exp
expm1-log1p-u associate-*r* associate-*l* log1p-expm1-u
flip3-+ associate-*l/ flip-+
+-commutative sum-log fma-def pow-prod-down prod-exp *-commutative cbrt-unprod fma-udef unswap-sqr
Counts
3 → 46
Calls
3 calls:
10.0ms
(+ (* x.re x.im) (* x.im x.re))
17.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
0.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))

series230.0ms

Counts
3 → 9
Calls
3 calls:
39.0ms
(+ (* x.re x.im) (* x.im x.re))
27.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
164.0ms
(fma (+ x.re x.im) (* (- x.re x.im) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))

simplify2.5s

Counts
55 → 55
Iterations
IterNodes
done5053
32827
2674
1201
077

prune389.0ms

Pruning

12 alts after pruning (11 fresh and 1 done)

Merged error: 0.0b

localize65.0ms

Local error

Found 4 expressions with local error:

0.4b
(* (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)) (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)))
26.7b
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
26.7b
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
26.7b
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))

rewrite84.0ms

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

series678.0ms

Counts
4 → 12
Calls
4 calls:
205.0ms
(* (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)) (cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re)))
142.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
161.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))
169.0ms
(cbrt (* (+ (* x.re x.im) (* x.im x.re)) x.re))

simplify2.0s

Counts
92 → 92
Iterations
IterNodes
done5002
31990
2774
1323
0128

prune533.0ms

Pruning

12 alts after pruning (10 fresh and 2 done)

Merged error: 0.0b

regimes243.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify3.0ms

Iterations
IterNodes
done14
114
010

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.7s14354×body80valid