Details

Time bar (total: 6.8s)

sample94.0ms

Algorithm
intervals
Results
32.0ms353×body80nan
9.0ms33×body1280valid
8.0ms157×body80valid
6.0ms31×body640valid
5.0ms20×body1280nan
3.0ms23×body320valid
3.0ms17×body640nan
2.0ms12×body320nan
2.0ms12×body160valid
1.0ms12×body160nan

simplify86.0ms

Algorithm
egg-herbie
Counts
1 → 1
Iterations

Useful iterations: 0 (2.0ms)

IterNodesCost
03914
19314
219314
341414
471814
5119214
6281614
7500114

prune5.0ms

Filtered
1 candidates to 0 candidates (0.0%)
Pruning

2 alts after pruning (2 fresh and 0 done)

PrunedKeptTotal
New011
Fresh011
Picked000
Done000
Total022

Merged error: 46.7b

Counts
2 → 1

localize18.0ms

Local error

Found 4 expressions with local error:

0.0b
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
0.4b
(* (sqrt 2.0) t)
11.5b
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
23.6b
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

rewrite55.0ms

Algorithm
rewrite-expression-head
Rules
sqrt-div associate--l+
flip3-- flip--
+-commutative distribute-rgt-in distribute-lft-in associate-/r/ *-commutative associate-/l*
sub-neg frac-2neg pow1/2 clear-num div-inv
Counts
4 → 19
Calls
4 calls:
22.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
3.0ms
(* (sqrt 2.0) t)
14.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
14.0ms
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

series1.9s

Counts
4 → 12
Calls
4 calls:
429.0ms
(/ (* (sqrt 2.0) t) (sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))))
45.0ms
(* (sqrt 2.0) t)
217.0ms
(- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l))
1.2s
(sqrt (- (* (/ (+ x 1.0) (- x 1.0)) (+ (* l l) (* 2.0 (* t t)))) (* l l)))

simplify121.0ms

Algorithm
egg-herbie
Counts
31 → 31
Iterations

Useful iterations: 2 (26.0ms)

IterNodesCost
0273392
1991384
24595366
35001366

prune113.0ms

Filtered
31 candidates to 24 candidates (77.4%)
Pruning

4 alts after pruning (4 fresh and 0 done)

PrunedKeptTotal
New27431
Fresh000
Picked101
Done000
Total28432

Merged error: 6.6b

Counts
32 → 4

localize17.0ms

Local error

Found 4 expressions with local error:

3.6b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
4.1b
(/ (pow l 2) x)
11.3b
(/ (pow t 2) x)
31.0b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

rewrite28.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*r/
24×frac-add
14×flip3-+ sqrt-div flip-+
12×associate-/l*
10×clear-num
frac-2neg unpow2 sqr-pow
associate-+r+ un-div-inv
+-commutative
distribute-rgt-in distribute-lft-in div-inv
pow1/2
Counts
4 → 44
Calls
4 calls:
10.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
3.0ms
(/ (pow l 2) x)
3.0ms
(/ (pow t 2) x)
9.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

series266.0ms

Counts
4 → 12
Calls
4 calls:
66.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x))))
19.0ms
(/ (pow l 2) x)
18.0ms
(/ (pow t 2) x)
163.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l 2) x)))))

simplify54.0ms

Algorithm
egg-herbie
Counts
56 → 56
Iterations

Useful iterations: 1 (10.0ms)

IterNodesCost
04501043
116951037
250011037

prune208.0ms

Filtered
56 candidates to 39 candidates (69.6%)
Pruning

7 alts after pruning (7 fresh and 0 done)

PrunedKeptTotal
New51556
Fresh123
Picked101
Done000
Total53760

Merged error: 5.1b

Counts
60 → 7

localize19.0ms

Local error

Found 4 expressions with local error:

0.4b
(+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l)))
3.6b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l)))))
11.3b
(/ (pow t 2) x)
31.0b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l))))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
44×associate-*r/
24×frac-add
15×flip3-+ flip-+
14×sqrt-div
10×associate-/l*
clear-num
frac-2neg unpow2 sqr-pow
+-commutative associate-+r+ un-div-inv
distribute-rgt-in distribute-lft-in
pow1/2 div-inv
Counts
4 → 42
Calls
4 calls:
5.0ms
(+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l)))
11.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l)))))
3.0ms
(/ (pow t 2) x)
11.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l))))))

series284.0ms

Counts
4 → 12
Calls
4 calls:
34.0ms
(+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l)))
68.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l)))))
18.0ms
(/ (pow t 2) x)
163.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (/ (pow l (/ 2 2)) (/ x l))))))

simplify59.0ms

Algorithm
egg-herbie
Counts
54 → 54
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04571215
117461200
250021200

prune210.0ms

Filtered
54 candidates to 37 candidates (68.5%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New53154
Fresh156
Picked011
Done000
Total54761

Merged error: 5.1b

Counts
61 → 7

localize18.0ms

Local error

Found 4 expressions with local error:

3.6b
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (pow l 2) (/ 1 x)))))
4.2b
(* (pow l 2) (/ 1 x))
11.3b
(/ (pow t 2) x)
31.0b
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (pow l 2) (/ 1 x))))))

rewrite32.0ms

Algorithm
rewrite-expression-head
Rules
47×associate-*r/
24×frac-add
14×flip3-+ sqrt-div flip-+
11×clear-num
10×associate-/l*
frac-2neg un-div-inv unpow2 sqr-pow
associate-+r+
+-commutative
distribute-rgt-in distribute-lft-in associate-*l* div-inv
pow1/2 associate-*r* *-commutative
Counts
4 → 48
Calls
4 calls:
11.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (pow l 2) (/ 1 x)))))
5.0ms
(* (pow l 2) (/ 1 x))
3.0ms
(/ (pow t 2) x)
11.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (pow l 2) (/ 1 x))))))

series270.0ms

Counts
4 → 12
Calls
4 calls:
62.0ms
(+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (pow l 2) (/ 1 x)))))
24.0ms
(* (pow l 2) (/ 1 x))
19.0ms
(/ (pow t 2) x)
165.0ms
(sqrt (+ (* 4.0 (/ (pow t 2) x)) (* 2.0 (+ (pow t 2) (* (pow l 2) (/ 1 x))))))

simplify64.0ms

Algorithm
egg-herbie
Counts
60 → 60
Iterations

Useful iterations: 1 (11.0ms)

IterNodesCost
04711186
118261173
250021173

prune199.0ms

Filtered
60 candidates to 40 candidates (66.7%)
Pruning

7 alts after pruning (6 fresh and 1 done)

PrunedKeptTotal
New58260
Fresh145
Picked101
Done011
Total60767

Merged error: 5.1b

Counts
67 → 7

regimes308.0ms

Accuracy

78.6% (5.1b remaining)

Error of 9.3b against oracle of 4.2b and baseline of 28.1b

bsearch223.0ms

Steps
ItersRangePoint
11
3.2321547942223635e+94
4.0220332976538206e+117
4.7260634120673066e+114
7
-3.36057631032774e+99
-5.613938849311412e+97
-1.1373404966465423e+99

simplify2.0ms

Algorithm
egg-herbie
Iterations

Useful iterations: 0 (0.0ms)

IterNodesCost
06151
16451
26451

end0.0ms

sample2.1s

Algorithm
intervals
Results
505.0ms10233×body80nan
263.0ms5089×body80valid
224.0ms897×body1280valid
197.0ms996×body640valid
150.0ms593×body1280nan
121.0ms625×body640nan
95.0ms648×body320valid
53.0ms370×body320nan
36.0ms370×body160valid
17.0ms174×body160nan