Details

Time bar (total: 55.0s)

sample108.0ms

Algorithm
intervals
Results
37.0ms44×body640valid
22.0ms244×body80valid
13.0ms23×body1280valid
8.0ms28×body320valid
2.0ms11×body160valid

simplify4.3s

Counts
1 → 1
Iterations

Useful iterations: 1 (4.0ms)

IterNodesCost
01732
13416
27616
325716
482616
5235516
done500016

prune8.0ms

Pruning

1 alts after pruning (1 fresh and 0 done)

Merged error: 4.1b

localize17.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0))) (- phi1 phi2))
0.1b
(* (hypot (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0))) (- phi1 phi2)) R)
0.1b
(* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0)))
4.6b
(cos (/ (+ phi1 phi2) 2.0))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×*-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
hypot-udef flip3-- flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 63
Calls
4 calls:
0.0ms
(hypot (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0))) (- phi1 phi2))
7.0ms
(* (hypot (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0))) (- phi1 phi2)) R)
35.0ms
(* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0)))
11.0ms
(cos (/ (+ phi1 phi2) 2.0))

series1.4s

Counts
4 → 12
Calls
4 calls:
543.0ms
(hypot (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0))) (- phi1 phi2))
715.0ms
(* (hypot (* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0))) (- phi1 phi2)) R)
143.0ms
(* (- lambda1 lambda2) (cos (/ (+ phi1 phi2) 2.0)))
42.0ms
(cos (/ (+ phi1 phi2) 2.0))

simplify2.5s

Counts
75 → 75
Iterations

Useful iterations: done (2.5s)

IterNodesCost
01391279
13271271
29601077
331941060
done50001059

prune437.0ms

Pruning

14 alts after pruning (14 fresh and 0 done)

Merged error: 3.9b

localize32.0ms

Local error

Found 4 expressions with local error:

0.0b
(hypot (* (- lambda1 lambda2) (cos (* 0.5 (+ phi2 phi1)))) (- phi1 phi2))
0.1b
(* (hypot (* (- lambda1 lambda2) (cos (* 0.5 (+ phi2 phi1)))) (- phi1 phi2)) R)
0.1b
(* (- lambda1 lambda2) (cos (* 0.5 (+ phi2 phi1))))
4.6b
(cos (* 0.5 (+ phi2 phi1)))

rewrite90.0ms

Algorithm
rewrite-expression-head
Rules
14×add-sqr-sqrt
10×*-un-lft-identity
pow1 add-exp-log add-cube-cbrt associate-*l* add-cbrt-cube
associate-*r*
expm1-log1p-u log1p-expm1-u add-log-exp
cos-sum pow-prod-down associate-*l/ prod-exp *-commutative cbrt-unprod unswap-sqr
distribute-rgt-in hypot-udef flip3-- distribute-lft-in flip-- distribute-lft-out-- difference-of-squares
Counts
4 → 65
Calls
4 calls:
1.0ms
(hypot (* (- lambda1 lambda2) (cos (* 0.5 (+ phi2 phi1)))) (- phi1 phi2))
15.0ms
(* (hypot (* (- lambda1 lambda2) (cos (* 0.5 (+ phi2 phi1)))) (- phi1 phi2)) R)
60.0ms
(* (- lambda1 lambda2) (cos (* 0.5 (+ phi2 phi1))))
11.0ms
(cos (* 0.5 (+ phi2 phi1)))

series1.6s

Counts
4 → 12
Calls
4 calls:
610.0ms
(hypot (* (- lambda1 lambda2) (cos (* 0.5 (+ phi2 phi1)))) (- phi1 phi2))
818.0ms
(* (hypot (* (- lambda1 lambda2) (cos (* 0.5 (+ phi2 phi1)))) (- phi1 phi2)) R)
123.0ms
(* (- lambda1 lambda2) (cos (* 0.5 (+ phi2 phi1))))
41.0ms
(cos (* 0.5 (+ phi2 phi1)))

simplify2.4s

Counts
77 → 77
Iterations

Useful iterations: done (2.4s)

IterNodesCost
01501315
13341307
29601113
331381096
done50001095

prune428.0ms

Pruning

9 alts after pruning (9 fresh and 0 done)

Merged error: 0.1b

localize60.0ms

Local error

Found 4 expressions with local error:

0.1b
(* (hypot (* (- lambda1 lambda2) (- (* (cos (* phi2 0.5)) (cos (* phi1 0.5))) (* (sin (* phi2 0.5)) (sin (* phi1 0.5))))) (- phi1 phi2)) R)
0.1b
(- (* (cos (* phi2 0.5)) (cos (* phi1 0.5))) (* (sin (* phi2 0.5)) (sin (* phi1 0.5))))
0.1b
(* (- lambda1 lambda2) (- (* (cos (* phi2 0.5)) (cos (* phi1 0.5))) (* (sin (* phi2 0.5)) (sin (* phi1 0.5)))))
0.2b
(* (sin (* phi2 0.5)) (sin (* phi1 0.5)))

rewrite524.0ms

Algorithm
rewrite-expression-head
Rules
18×add-sqr-sqrt
12×*-un-lft-identity
11×associate-*l*
10×pow1 add-exp-log add-cube-cbrt add-cbrt-cube
flip3-- associate-*r* flip-- sin-mult
frac-times cos-mult
add-log-exp
expm1-log1p-u associate-*r/ frac-sub log1p-expm1-u sub-div
distribute-rgt-in sub-neg distribute-lft-in prod-diff pow-prod-down prod-exp *-commutative cbrt-unprod unswap-sqr
associate-*l/
fma-neg diff-log distribute-lft-out-- difference-of-squares
Counts
4 → 101
Calls
4 calls:
15.0ms
(* (hypot (* (- lambda1 lambda2) (- (* (cos (* phi2 0.5)) (cos (* phi1 0.5))) (* (sin (* phi2 0.5)) (sin (* phi1 0.5))))) (- phi1 phi2)) R)
105.0ms
(- (* (cos (* phi2 0.5)) (cos (* phi1 0.5))) (* (sin (* phi2 0.5)) (sin (* phi1 0.5))))
343.0ms
(* (- lambda1 lambda2) (- (* (cos (* phi2 0.5)) (cos (* phi1 0.5))) (* (sin (* phi2 0.5)) (sin (* phi1 0.5)))))
54.0ms
(* (sin (* phi2 0.5)) (sin (* phi1 0.5)))

series28.3s

Counts
4 → 12
Calls
4 calls:
27.6s
(* (hypot (* (- lambda1 lambda2) (- (* (cos (* phi2 0.5)) (cos (* phi1 0.5))) (* (sin (* phi2 0.5)) (sin (* phi1 0.5))))) (- phi1 phi2)) R)
188.0ms
(- (* (cos (* phi2 0.5)) (cos (* phi1 0.5))) (* (sin (* phi2 0.5)) (sin (* phi1 0.5))))
363.0ms
(* (- lambda1 lambda2) (- (* (cos (* phi2 0.5)) (cos (* phi1 0.5))) (* (sin (* phi2 0.5)) (sin (* phi1 0.5)))))
93.0ms
(* (sin (* phi2 0.5)) (sin (* phi1 0.5)))

simplify2.4s

Counts
113 → 113
Iterations

Useful iterations: done (2.4s)

IterNodesCost
03534639
19574328
238563884
done50003878

prune955.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

localize89.0ms

Local error

Found 4 expressions with local error:

0.2b
(* (* (sin (* phi2 0.5)) (sin (* phi1 0.5))) (* (sin (* phi2 0.5)) (sin (* phi1 0.5))))
0.3b
(pow (* (sin (* phi2 0.5)) (sin (* phi1 0.5))) 3)
0.4b
(* (* (cos (* phi2 0.5)) (cos (* phi1 0.5))) (* (cos (* phi2 0.5)) (cos (* phi1 0.5))))
0.6b
(pow (* (cos (* phi2 0.5)) (cos (* phi1 0.5))) 3)

rewrite379.0ms

Algorithm
rewrite-expression-head
Rules
88×pow1
36×pow-prod-down
34×add-exp-log add-cbrt-cube
18×prod-exp cbrt-unprod
pow-sqr pow-prod-up
add-sqr-sqrt add-cube-cbrt pow-unpow *-un-lft-identity
cos-mult sin-mult
expm1-log1p-u pow-pow pow-plus pow-exp log1p-expm1-u add-log-exp rem-cube-cbrt
cube-div pow2 cube-mult frac-times pow-to-exp unpow-prod-down unpow3 cube-prod associate-*r/ swap-sqr associate-*r* associate-*l* associate-*l/ *-commutative sqr-pow
Counts
4 → 128
Calls
4 calls:
161.0ms
(* (* (sin (* phi2 0.5)) (sin (* phi1 0.5))) (* (sin (* phi2 0.5)) (sin (* phi1 0.5))))
37.0ms
(pow (* (sin (* phi2 0.5)) (sin (* phi1 0.5))) 3)
155.0ms
(* (* (cos (* phi2 0.5)) (cos (* phi1 0.5))) (* (cos (* phi2 0.5)) (cos (* phi1 0.5))))
18.0ms
(pow (* (cos (* phi2 0.5)) (cos (* phi1 0.5))) 3)

series550.0ms

Counts
4 → 12
Calls
4 calls:
112.0ms
(* (* (sin (* phi2 0.5)) (sin (* phi1 0.5))) (* (sin (* phi2 0.5)) (sin (* phi1 0.5))))
169.0ms
(pow (* (sin (* phi2 0.5)) (sin (* phi1 0.5))) 3)
120.0ms
(* (* (cos (* phi2 0.5)) (cos (* phi1 0.5))) (* (cos (* phi2 0.5)) (cos (* phi1 0.5))))
148.0ms
(pow (* (cos (* phi2 0.5)) (cos (* phi1 0.5))) 3)

simplify1.5s

Counts
140 → 140
Iterations

Useful iterations: done (1.5s)

IterNodesCost
01952474
14791522
218701435
done50011424

prune912.0ms

Pruning

6 alts after pruning (6 fresh and 0 done)

Merged error: 0.0b

regimes429.0ms

Accuracy

0% (0.1b remaining)

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

bsearch0.0ms

simplify9.0ms

Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03557
14257
done4257

end0.0ms

sample5.4s

Algorithm
intervals
Results
2.4s8470×body80valid
1.0s1295×body640valid
732.0ms776×body1280valid
315.0ms693×body320valid
87.0ms336×body160valid