Details

Time bar (total: 11.8s)

sample17.0ms

Algorithm
intervals
Results
9.0ms256×body80valid

simplify3.0ms

Counts
1 → 1
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
068
178
done78

prune2.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 30.3b

localize9.0ms

Local error

Found 2 expressions with local error:

0.0b
(+ (* re re) (* im im))
28.4b
(sqrt (+ (* re re) (* im im)))

rewrite19.0ms

Algorithm
rewrite-expression-head
Rules
add-sqr-sqrt add-log-exp
pow1 add-cube-cbrt *-un-lft-identity sqrt-prod
add-exp-log flip3-+ sqrt-div add-cbrt-cube flip-+
+-commutative rem-sqrt-square sqrt-pow1 pow1/2 sum-log
Counts
2 → 26
Calls
2 calls:
8.0ms
(+ (* re re) (* im im))
10.0ms
(sqrt (+ (* re re) (* im im)))

series87.0ms

Counts
2 → 6
Calls
2 calls:
38.0ms
(+ (* re re) (* im im))
49.0ms
(sqrt (+ (* re re) (* im im)))

simplify2.3s

Counts
32 → 32
Iterations

Useful iterations: 2 (82.0ms)

IterNodesCost
048379
1124347
2343295
3968295
42668295
done5000295

prune105.0ms

Pruning

5 alts after pruning (4 fresh and 1 done)

Merged error: 6.6b

localize14.0ms

Local error

Found 4 expressions with local error:

0.1b
(sqrt (cbrt (+ (* re re) (* im im))))
0.3b
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
29.4b
(cbrt (+ (* re re) (* im im)))
29.4b
(cbrt (+ (* re re) (* im im)))

rewrite76.0ms

Algorithm
rewrite-expression-head
Rules
20×add-sqr-sqrt
14×cbrt-prod sqrt-prod
12×add-cube-cbrt *-un-lft-identity
associate-*r*
cbrt-div
pow1
add-exp-log add-cbrt-cube
flip3-+ sqrt-div flip-+ add-log-exp
pow1/3 associate-*l* unswap-sqr
rem-sqrt-square sqrt-pow1 associate-*r/
pow1/2 pow-prod-down prod-exp *-commutative cbrt-unprod
Counts
4 → 74
Calls
4 calls:
19.0ms
(sqrt (cbrt (+ (* re re) (* im im))))
40.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
7.0ms
(cbrt (+ (* re re) (* im im)))
7.0ms
(cbrt (+ (* re re) (* im im)))

series527.0ms

Counts
4 → 12
Calls
4 calls:
128.0ms
(sqrt (cbrt (+ (* re re) (* im im))))
159.0ms
(* (fabs (cbrt (+ (* re re) (* im im)))) (sqrt (cbrt (+ (* re re) (* im im)))))
125.0ms
(cbrt (+ (* re re) (* im im)))
114.0ms
(cbrt (+ (* re re) (* im im)))

simplify1.9s

Counts
86 → 86
Iterations

Useful iterations: 3 (595.0ms)

IterNodesCost
01261572
12771459
27371290
317801274
done50001274

prune347.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 6.6b

localize15.0ms

Local error

Found 4 expressions with local error:

0.3b
(* (fabs (exp (log (cbrt (+ (* re re) (* im im)))))) (sqrt (cbrt (+ (* re re) (* im im)))))
5.0b
(exp (log (cbrt (+ (* re re) (* im im)))))
29.4b
(cbrt (+ (* re re) (* im im)))
29.4b
(cbrt (+ (* re re) (* im im)))

rewrite56.0ms

Algorithm
rewrite-expression-head
Rules
19×add-sqr-sqrt
13×cbrt-prod add-cube-cbrt *-un-lft-identity
associate-*r*
cbrt-div sqrt-prod
pow1
add-exp-log log-prod exp-sum add-cbrt-cube
exp-prod
flip3-+ flip-+ add-log-exp
pow1/3 associate-*l* unswap-sqr
log-div exp-diff sqrt-div associate-*r/ log-pow
pow-prod-down prod-exp *-commutative cbrt-unprod rem-exp-log
Counts
4 → 75
Calls
4 calls:
33.0ms
(* (fabs (exp (log (cbrt (+ (* re re) (* im im)))))) (sqrt (cbrt (+ (* re re) (* im im)))))
10.0ms
(exp (log (cbrt (+ (* re re) (* im im)))))
5.0ms
(cbrt (+ (* re re) (* im im)))
5.0ms
(cbrt (+ (* re re) (* im im)))

series517.0ms

Counts
4 → 12
Calls
4 calls:
148.0ms
(* (fabs (exp (log (cbrt (+ (* re re) (* im im)))))) (sqrt (cbrt (+ (* re re) (* im im)))))
129.0ms
(exp (log (cbrt (+ (* re re) (* im im)))))
129.0ms
(cbrt (+ (* re re) (* im im)))
110.0ms
(cbrt (+ (* re re) (* im im)))

simplify1.5s

Counts
87 → 87
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01501701
12981492
27491290
317721271
done50011263

prune445.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 6.6b

localize27.0ms

Local error

Found 4 expressions with local error:

29.4b
(cbrt (+ (* re re) (* im im)))
29.4b
(cbrt (+ (* re re) (* im im)))
29.4b
(cbrt (+ (* re re) (* im im)))
29.4b
(cbrt (+ (* re re) (* im im)))

rewrite30.0ms

Algorithm
rewrite-expression-head
Rules
12×cbrt-prod
add-sqr-sqrt add-cube-cbrt cbrt-div *-un-lft-identity
pow1 add-exp-log flip3-+ pow1/3 add-cbrt-cube flip-+ add-log-exp
Counts
4 → 52
Calls
4 calls:
6.0ms
(cbrt (+ (* re re) (* im im)))
12.0ms
(cbrt (+ (* re re) (* im im)))
5.0ms
(cbrt (+ (* re re) (* im im)))
5.0ms
(cbrt (+ (* re re) (* im im)))

series436.0ms

Counts
4 → 12
Calls
4 calls:
107.0ms
(cbrt (+ (* re re) (* im im)))
102.0ms
(cbrt (+ (* re re) (* im im)))
111.0ms
(cbrt (+ (* re re) (* im im)))
115.0ms
(cbrt (+ (* re re) (* im im)))

simplify1.5s

Counts
64 → 64
Iterations

Useful iterations: 3 (178.0ms)

IterNodesCost
051928
1125904
2286776
3612764
41581764
done5001764

prune429.0ms

Pruning

6 alts after pruning (4 fresh and 2 done)

Merged error: 6.6b

regimes370.0ms

Accuracy

56.8% (10.2b remaining)

Error of 18.0b against oracle of 7.8b and baseline of 31.3b

bsearch70.0ms

Steps
ItersRangePoint
9
3.1969220264351404e+107
2.622192972460871e+114
2.566938280750768e+114
6
-1.932089816811951e+60
-2.426943492373032e+59
-6.38087000272631e+59

simplify3.0ms

Iterations

Useful iterations: 0 (1.0ms)

IterNodesCost
01319
11419
done1419

end0.0ms

sample893.0ms

Algorithm
intervals
Results
708.0ms8000×body80valid