Details

Time bar (total: 22.8s)

sample58.0ms

Algorithm
intervals
Results
38.0ms457×body80valid

simplify4.8s

Counts
1 → 1
Iterations

Useful iterations: 5 (307.0ms)

IterNodesCost
01119
12019
24517
310817
424513
562311
6134611
7374011
done500111

prune10.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 5.9b

localize27.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.1b
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
5.5b
(* (- (* x.re x.re) (* x.im x.im)) x.im)

rewrite161.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-+
frac-add
flip3-- flip--
+-commutative pow-prod-down prod-exp sum-log *-commutative cbrt-unprod unswap-sqr
difference-of-squares
Counts
4 → 67
Calls
4 calls:
8.0ms
(+ (* x.re x.im) (* x.im x.re))
45.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
45.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
60.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series233.0ms

Counts
4 → 12
Calls
4 calls:
28.0ms
(+ (* x.re x.im) (* x.im x.re))
25.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
90.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
89.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

simplify1.9s

Counts
79 → 79
Iterations

Useful iterations: done (1.9s)

IterNodesCost
01351507
13981393
216931075
done5000951

prune381.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize21.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.1b
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
0.1b
(* (+ x.re x.im) (* (- x.re x.im) x.im))

rewrite158.0ms

Algorithm
rewrite-expression-head
Rules
42×associate-*l/
20×flip3-+ flip-+
16×frac-add
12×frac-times
11×pow1 add-exp-log add-cbrt-cube
add-sqr-sqrt flip3-- *-un-lft-identity flip--
add-log-exp
add-cube-cbrt associate-*l*
associate-*r/
associate-*r* pow-prod-down prod-exp cbrt-unprod
+-commutative sum-log *-commutative
distribute-lft-out unswap-sqr
Counts
4 → 85
Calls
4 calls:
8.0ms
(+ (* x.re x.im) (* x.im x.re))
42.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
44.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
59.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series286.0ms

Counts
4 → 12
Calls
4 calls:
33.0ms
(+ (* x.re x.im) (* x.im x.re))
34.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
105.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
114.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify3.9s

Counts
97 → 97
Iterations

Useful iterations: done (3.9s)

IterNodesCost
01972664
17022442
236651942
done50011514

prune473.0ms

Pruning

9 alts after pruning (8 fresh and 1 done)

Merged error: 0.0b

localize23.0ms

Local error

Found 4 expressions with local error:

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

rewrite193.0ms

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

series649.0ms

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

simplify2.2s

Counts
84 → 84
Iterations

Useful iterations: done (2.2s)

IterNodesCost
01211434
12721200
26871004
31878837
done5000793

prune458.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

localize49.0ms

Local error

Found 4 expressions with local error:

0.6b
(cbrt x.re)
14.2b
(cbrt (* (* x.re x.im) 2))
22.8b
(cbrt (* x.re (* x.im (+ x.re x.re))))
22.8b
(cbrt (* x.re (* x.im (+ x.re x.re))))

rewrite91.0ms

Algorithm
rewrite-expression-head
Rules
associate-*r/
cbrt-prod
add-sqr-sqrt add-cube-cbrt *-un-lft-identity
pow1 add-exp-log cbrt-div pow1/3 add-cbrt-cube add-log-exp
flip3-+ flip-+
Counts
4 → 42
Calls
4 calls:
2.0ms
(cbrt x.re)
20.0ms
(cbrt (* (* x.re x.im) 2))
45.0ms
(cbrt (* x.re (* x.im (+ x.re x.re))))
23.0ms
(cbrt (* x.re (* x.im (+ x.re x.re))))

series763.0ms

Counts
4 → 12
Calls
4 calls:
279.0ms
(cbrt x.re)
155.0ms
(cbrt (* (* x.re x.im) 2))
163.0ms
(cbrt (* x.re (* x.im (+ x.re x.re))))
165.0ms
(cbrt (* x.re (* x.im (+ x.re x.re))))

simplify3.3s

Counts
54 → 54
Iterations

Useful iterations: done (3.3s)

IterNodesCost
0103552
1224508
2463441
31126400
43519384
done5000381

prune320.0ms

Pruning

10 alts after pruning (7 fresh and 3 done)

Merged error: 0.0b

regimes104.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify2.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01119
11719
done1719

end0.0ms

sample2.3s

Algorithm
intervals
Results
1.8s14277×body80valid