Details

Time bar (total: 22.2s)

sample85.0ms

Algorithm
intervals
Results
62.0ms482×body80valid

simplify5.4s

Counts
1 → 1
Iterations

Useful iterations: 5 (278.0ms)

IterNodesCost
01119
12019
24517
310817
424513
562311
6134611
7374011
done500111

prune9.0ms

Pruning

2 alts after pruning (2 fresh and 0 done)

Merged error: 6.9b

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.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)

rewrite121.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:
10.0ms
(+ (* x.re x.im) (* x.im x.re))
27.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.im) (* x.im x.re)) x.re)
41.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

series277.0ms

Counts
4 → 12
Calls
4 calls:
42.0ms
(+ (* x.re x.im) (* x.im x.re))
121.0ms
(+ (* (- (* x.re x.re) (* x.im x.im)) x.im) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
26.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
89.0ms
(* (- (* x.re x.re) (* x.im x.im)) x.im)

simplify1.6s

Counts
79 → 79
Iterations

Useful iterations: done (1.6s)

IterNodesCost
01351507
13991393
216981127
done50011029

prune410.0ms

Pruning

8 alts after pruning (8 fresh and 0 done)

Merged error: 0.0b

localize28.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.re 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)
0.2b
(* (+ x.re x.im) (* (- x.re x.im) x.im))

rewrite207.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))
62.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
24.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
108.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

series289.0ms

Counts
4 → 12
Calls
4 calls:
31.0ms
(+ (* x.re x.im) (* x.im x.re))
114.0ms
(+ (* (+ x.re x.im) (* (- x.re x.im) x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
28.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
115.0ms
(* (+ x.re x.im) (* (- x.re x.im) x.im))

simplify3.8s

Counts
97 → 97
Iterations

Useful iterations: done (3.8s)

IterNodesCost
01972664
17022442
236671942
done50001514

prune391.0ms

Pruning

10 alts after pruning (10 fresh and 0 done)

Merged error: 0.0b

localize14.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.im)) (* (+ (* 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.im) (- x.re x.im))

rewrite171.0ms

Algorithm
rewrite-expression-head
Rules
42×associate-*l/
20×flip3-+ flip-+
16×frac-add
12×frac-times
11×pow1 add-exp-log add-sqr-sqrt add-cbrt-cube
flip3-- *-un-lft-identity flip--
associate-*r* add-log-exp
add-cube-cbrt
associate-*r/
distribute-rgt-in sub-neg associate-+l+ distribute-lft-in associate-*l* pow-prod-down prod-exp cbrt-unprod
+-commutative sum-log *-commutative
distribute-lft-out-- difference-of-squares unswap-sqr
Counts
4 → 94
Calls
4 calls:
17.0ms
(+ (* x.re x.im) (* x.im x.re))
63.0ms
(+ (* (* (+ x.re x.im) x.im) (- x.re x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
28.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
54.0ms
(* (* (+ x.re x.im) x.im) (- x.re x.im))

series265.0ms

Counts
4 → 12
Calls
4 calls:
22.0ms
(+ (* x.re x.im) (* x.im x.re))
102.0ms
(+ (* (* (+ x.re x.im) x.im) (- x.re x.im)) (* (+ (* x.re x.im) (* x.im x.re)) x.re))
39.0ms
(* (+ (* x.re x.im) (* x.im x.re)) x.re)
101.0ms
(* (* (+ x.re x.im) x.im) (- x.re x.im))

simplify3.2s

Counts
106 → 106
Iterations

Useful iterations: done (3.2s)

IterNodesCost
02092806
17312580
238452292
done50011918

prune411.0ms

Pruning

10 alts after pruning (9 fresh and 1 done)

Merged error: 0.0b

localize27.0ms

Local error

Found 4 expressions with local error:

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

rewrite210.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:
80.0ms
(* (cbrt (* x.re (* x.re (+ x.im x.im)))) (cbrt (* x.re (* x.re (+ x.im x.im)))))
45.0ms
(cbrt (* x.re (* x.re (+ x.im x.im))))
53.0ms
(cbrt (* x.re (* x.re (+ x.im x.im))))
28.0ms
(cbrt (* x.re (* x.re (+ x.im x.im))))

series700.0ms

Counts
4 → 12
Calls
4 calls:
221.0ms
(* (cbrt (* x.re (* x.re (+ x.im x.im)))) (cbrt (* x.re (* x.re (+ x.im x.im)))))
128.0ms
(cbrt (* x.re (* x.re (+ x.im x.im))))
172.0ms
(cbrt (* x.re (* x.re (+ x.im x.im))))
179.0ms
(cbrt (* x.re (* x.re (+ x.im x.im))))

simplify2.0s

Counts
84 → 84
Iterations

Useful iterations: done (2.0s)

IterNodesCost
01211434
12731200
26771004
31858837
done5001810

prune328.0ms

Pruning

10 alts after pruning (8 fresh and 2 done)

Merged error: 0.0b

regimes76.0ms

Accuracy

0% (0.2b remaining)

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

bsearch0.0ms

simplify4.0ms

Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
01119
11719
done1719

end0.0ms

sample2.2s

Algorithm
intervals
Results
1.8s14401×body80valid